From 551a6d7af47587e46c644555e32dbf32e12eea90 Mon Sep 17 00:00:00 2001 From: "scullin%netscape.com" Date: Wed, 29 Jul 1998 18:50:51 +0000 Subject: [PATCH] Normalize widget api on UNIX and Win --- webshell/tests/viewer/nsBrowserWindow.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/webshell/tests/viewer/nsBrowserWindow.cpp b/webshell/tests/viewer/nsBrowserWindow.cpp index d888d41dcd6..2385ed5feaf 100644 --- a/webshell/tests/viewer/nsBrowserWindow.cpp +++ b/webshell/tests/viewer/nsBrowserWindow.cpp @@ -434,9 +434,7 @@ nsBrowserWindow::Init(nsIAppShell* aAppShell, } nsRect r(0, 0, aBounds.width, aBounds.height); mWindow->Create((nsIWidget*)NULL, r, HandleBrowserEvent, - nsnull, nsnull, - (nsWidgetInitData *) - aAppShell->GetNativeData(NS_NATIVE_SHELL)); + nsnull, aAppShell); mWindow->GetBounds(r); // Create web shell