mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Added extra parameter for Init of WenShell
This commit is contained in:
parent
fdcb34465c
commit
e66cef5066
@ -1070,7 +1070,7 @@ void nsBrowserWindow::DoFind()
|
||||
nsString findHTML("resource:/res/samples/find.html");
|
||||
//nsString findHTML("resource:/res/samples/find-table.html");
|
||||
nsRect rect(0, 0, 510, 170);
|
||||
//nsRect rect(0, 0, 480, 150);
|
||||
//nsRect rect(0, 0, 480, 127);
|
||||
nsString title("Find");
|
||||
|
||||
nsXPBaseWindow * dialog = nsnull;
|
||||
|
@ -234,7 +234,7 @@ nsresult nsXPBaseWindow::Init(nsIAppShell* aAppShell,
|
||||
rv = mWebShell->Init(mWindow->GetNativeData(NS_NATIVE_WIDGET),
|
||||
r.x, r.y, r.width, r.height,
|
||||
nsScrollPreference_kNeverScroll, //nsScrollPreference_kAuto,
|
||||
aAllowPlugins);
|
||||
aAllowPlugins, PR_FALSE);
|
||||
mWebShell->SetContainer((nsIWebShellContainer*) this);
|
||||
mWebShell->SetObserver((nsIStreamObserver*)this);
|
||||
mWebShell->SetPrefs(aPrefs);
|
||||
|
Loading…
Reference in New Issue
Block a user