Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst.

This commit is contained in:
bzbarsky@mit.edu
2005-01-03 22:51:17 +00:00
parent 3d212f55b6
commit 676f03a288
62 changed files with 412 additions and 1062 deletions

View File

@@ -55,7 +55,6 @@
#include "nsIDocShellTreeOwner.h"
#include "nsIDocShellLoadInfo.h"
#include "nsIBaseWindow.h"
#include "nsIWebShell.h"
#include "nsContentUtils.h"
#include "nsUnicharUtils.h"
#include "nsIScriptGlobalObject.h"
@@ -502,6 +501,8 @@ nsFrameLoader::EnsureDocShell()
parentAsNode->AddChild(docShellAsItem);
if (isContent) {
// XXXbz why is this in content code, exactly? We should handle
// this some other way.....
nsCOMPtr<nsIDocShellTreeOwner> parentTreeOwner;
parentAsItem->GetTreeOwner(getter_AddRefs(parentTreeOwner));
@@ -514,15 +515,6 @@ nsFrameLoader::EnsureDocShell()
}
}
// connect the container...
nsCOMPtr<nsIWebShell> webShell(do_QueryInterface(mDocShell));
nsCOMPtr<nsIWebShellContainer> outerContainer =
do_QueryInterface(parentAsWebNav);
if (outerContainer) {
webShell->SetContainer(outerContainer);
}
// Make sure all shells have links back to the content element
// in the nearest enclosing chrome shell.
nsCOMPtr<nsIChromeEventHandler> chromeEventHandler;