diff --git a/mozilla/docshell/base/nsWebShell.cpp b/mozilla/docshell/base/nsWebShell.cpp index 6963e58d409..4937c22c4c5 100644 --- a/mozilla/docshell/base/nsWebShell.cpp +++ b/mozilla/docshell/base/nsWebShell.cpp @@ -567,8 +567,11 @@ nsWebShell::Init(nsNativeWidget aNativeParent, NS_RELEASE(mInnerWindow); } else { + nsWidgetInitData widgetInit; + + widgetInit.clipChildren = PR_FALSE; mWindow->Create(aNativeParent, aBounds, nsWebShell::HandleEvent, - mDeviceContext, nsnull); + mDeviceContext, nsnull, nsnull, &widgetInit); // Get rid of extra reference count mWindow->Release(); } diff --git a/mozilla/webshell/src/nsWebShell.cpp b/mozilla/webshell/src/nsWebShell.cpp index 6963e58d409..4937c22c4c5 100644 --- a/mozilla/webshell/src/nsWebShell.cpp +++ b/mozilla/webshell/src/nsWebShell.cpp @@ -567,8 +567,11 @@ nsWebShell::Init(nsNativeWidget aNativeParent, NS_RELEASE(mInnerWindow); } else { + nsWidgetInitData widgetInit; + + widgetInit.clipChildren = PR_FALSE; mWindow->Create(aNativeParent, aBounds, nsWebShell::HandleEvent, - mDeviceContext, nsnull); + mDeviceContext, nsnull, nsnull, &widgetInit); // Get rid of extra reference count mWindow->Release(); }