Bug 503879, remove nsIToolkit, make nsToolkit a singleton, remove it from some widget platforms, and don't pass it around when creating widgets, original patch by robarnold, r=roc

This commit is contained in:
Neil Deakin
2011-10-25 11:05:32 -04:00
parent 806d8d5f0c
commit 50e2122432
49 changed files with 132 additions and 1098 deletions

View File

@@ -1156,7 +1156,7 @@ NS_IMETHODIMP nsWebBrowser::Create()
mInternalWidget->SetClientData(static_cast<nsWebBrowser *>(this));
mInternalWidget->Create(nsnull, mParentNativeWindow, bounds, nsWebBrowser::HandleEvent,
nsnull, nsnull, &widgetInit);
nsnull, &widgetInit);
}
nsCOMPtr<nsIDocShell> docShell(do_CreateInstance("@mozilla.org/docshell;1", &rv));