Bug 1536064 - Get rid of bug GetPrincipalDontAssertMainThread, r=smaug

Differential Revision: https://phabricator.services.mozilla.com/D23840

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Andrea Marchesini 2019-03-18 12:31:22 +00:00
Родитель 63dc1243e4
Коммит f758ec03c2
1 изменённых файлов: 0 добавлений и 7 удалений

Просмотреть файл

@ -671,13 +671,6 @@ class WorkerPrivate : public RelativeTimeline {
return mLoadInfo.mLoadGroup;
}
// This method allows the principal to be retrieved off the main thread.
// Principals are main-thread objects so the caller must ensure that all
// access occurs on the main thread.
nsIPrincipal* GetPrincipalDontAssertMainThread() const {
return mLoadInfo.mPrincipal;
}
bool UsesSystemPrincipal() const { return mLoadInfo.mPrincipalIsSystem; }
const mozilla::ipc::PrincipalInfo& GetPrincipalInfo() const {