From a25ffe0899ec55e2e80e06fb949e29d9731d9d9a Mon Sep 17 00:00:00 2001 From: Francisco Tolmasky Date: Mon, 23 Feb 2009 20:34:13 -0800 Subject: [PATCH] Temporary fix for webview white background. Reviewed by me. --- AppKit/CPWebView.j | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/AppKit/CPWebView.j b/AppKit/CPWebView.j index b9ee2f705..64456132a 100644 --- a/AppKit/CPWebView.j +++ b/AppKit/CPWebView.j @@ -536,7 +536,7 @@ CPWebViewScrollNative = 2; { if (self = [super init]) { - _window = aWindow + _window = aWindow; } return self; } @@ -593,6 +593,8 @@ CPWebViewScrollNative = 2; #if PLATFORM(DOM) [self _initDOMWithFrame:[self frame]]; #endif + + [self setBackgroundColor:[CPColor whiteColor]]; } return self;