Bug 490957. Eliminate nsWebShell. r+sr=bsmedberg

This commit is contained in:
Boris Zbarsky
2009-05-07 15:21:53 -04:00
parent bad1bc1bd8
commit a9c9ed852d
31 changed files with 1344 additions and 1731 deletions

View File

@@ -406,7 +406,7 @@ AddTreeItemToTreeOwner(nsIDocShellTreeItem* aItem, nsIContent* aOwningContent,
aItem->SetItemType(nsIDocShellTreeItem::typeContent);
} else {
// Inherit our type from our parent webshell. If it is
// Inherit our type from our parent docshell. If it is
// chrome, we'll be chrome. If it is content, we'll be
// content.
@@ -808,7 +808,7 @@ nsFrameLoader::EnsureDocShell()
do_GetInterface(doc->GetScriptGlobalObject());
// Create the docshell...
mDocShell = do_CreateInstance("@mozilla.org/webshell;1");
mDocShell = do_CreateInstance("@mozilla.org/docshell;1");
NS_ENSURE_TRUE(mDocShell, NS_ERROR_FAILURE);
// Get the frame name and tell the docshell about it.