Bug 1493655 - make nsISecureBrowserUI initialize from a docshell instead of a window, r=keeler,nika

This also removes the (afaict, unused) stub implementation from TabParent. The netwerk header
inclusions were necessary because those files included TabParent.h and through it,
nsISecureBrowserUI, but now TabParent.h no longer does that.

Differential Revision: https://phabricator.services.mozilla.com/D6829
This commit is contained in:
Gijs Kruitbosch
2018-09-26 17:48:38 +00:00
parent bc62d876c1
commit ae4c0d1d3d
13 changed files with 31 additions and 81 deletions

View File

@@ -2251,7 +2251,6 @@ nsDocShell::SetSecurityUI(nsISecureBrowserUI* aSecurityUI)
MOZ_ASSERT(!mIsBeingDestroyed);
mSecurityUI = aSecurityUI;
mSecurityUI->SetDocShell(this);
return NS_OK;
}