Bug 743975 - remove the event handler argument to widget creation methods, r=tn

This commit is contained in:
Neil Deakin
2012-08-15 14:53:09 -04:00
parent 6e8cca82a3
commit d91faf11ff
28 changed files with 110 additions and 186 deletions

View File

@@ -1119,8 +1119,7 @@ NS_IMETHODIMP nsWebBrowser::Create()
nsIntRect bounds(mInitInfo->x, mInitInfo->y, mInitInfo->cx, mInitInfo->cy);
mInternalWidget->SetWidgetListener(this);
mInternalWidget->Create(nullptr, mParentNativeWindow, bounds, nullptr,
nullptr, &widgetInit);
mInternalWidget->Create(nullptr, mParentNativeWindow, bounds, nullptr, &widgetInit);
}
nsCOMPtr<nsIDocShell> docShell(do_CreateInstance("@mozilla.org/docshell;1", &rv));