зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
63dc1243e4
Коммит
f758ec03c2
|
@ -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 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче