From f946abc9f004645429d7e3faa59452407af6f2b7 Mon Sep 17 00:00:00 2001 From: "pavlov%pavlov.net" Date: Fri, 9 Jul 1999 17:25:14 +0000 Subject: [PATCH] turning intrinsic sizing on for unix part 2 r=saari a=chofmann --- xpfe/appshell/src/nsAppShellService.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/xpfe/appshell/src/nsAppShellService.cpp b/xpfe/appshell/src/nsAppShellService.cpp index 2269a9c34fc..28f3243da7d 100644 --- a/xpfe/appshell/src/nsAppShellService.cpp +++ b/xpfe/appshell/src/nsAppShellService.cpp @@ -496,7 +496,6 @@ nsAppShellService::CreateTopLevelWindow(nsIWebShellWindow *aParent, nsWidgetInitData widgetInitData; widgetInitData.mBorderStyle = eBorderStyle_window; -#ifndef XP_UNIX if (aInitialWidth == NS_SIZETOCONTENT || aInitialHeight == NS_SIZETOCONTENT) { aInitialWidth = 1; @@ -504,7 +503,6 @@ nsAppShellService::CreateTopLevelWindow(nsIWebShellWindow *aParent, showWindow = PR_FALSE; // Don't show until we have the intrinsic size figured out. window->SetIntrinsicallySized(PR_TRUE); } -#endif rv = window->Initialize((nsIWebShellWindow *) nsnull, mAppShell, aUrl, anObserver, aCallbacks, @@ -558,7 +556,6 @@ nsAppShellService::CreateDialogWindow(nsIWebShellWindow * aParent, nsWidgetInitData widgetInitData; widgetInitData.mBorderStyle = eBorderStyle_dialog; -#ifndef XP_UNIX if (aInitialWidth == NS_SIZETOCONTENT || aInitialHeight == NS_SIZETOCONTENT) { aInitialWidth = 1; @@ -566,7 +563,6 @@ nsAppShellService::CreateDialogWindow(nsIWebShellWindow * aParent, showWindow = PR_FALSE; // Don't show until we have the intrinsic size figured out. window->SetIntrinsicallySized(PR_TRUE); } -#endif rv = window->Initialize((nsIWebShellWindow *) nsnull, mAppShell, aUrl, anObserver, aCallbacks,