From a13ee6abcbf313df3cf967c458e66303b55083ba Mon Sep 17 00:00:00 2001 From: Jim Mathies Date: Wed, 8 Sep 2010 10:21:56 -0500 Subject: [PATCH] Bug 574638 - Change default background color of widgets from grey to white. r=neil, a=blocking-betaN --- xpfe/appshell/src/nsWebShellWindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xpfe/appshell/src/nsWebShellWindow.cpp b/xpfe/appshell/src/nsWebShellWindow.cpp index 7edc2cfbcb..2e633bb143 100644 --- a/xpfe/appshell/src/nsWebShellWindow.cpp +++ b/xpfe/appshell/src/nsWebShellWindow.cpp @@ -210,7 +210,9 @@ nsresult nsWebShellWindow::Initialize(nsIXULWindow* aParent, nsnull, // nsIToolkit &widgetInitData); // Widget initialization data mWindow->GetClientBounds(r); - mWindow->SetBackgroundColor(NS_RGB(192,192,192)); + // Match the default background color of content. Important on windows + // since we no longer use content child widgets. + mWindow->SetBackgroundColor(NS_RGB(255,255,255)); // Create web shell mDocShell = do_CreateInstance("@mozilla.org/docshell;1"); -- 2.11.4.GIT