Don't fill background with transparency unless debug flag
authorrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Oct 2004 22:00:44 +0000 (22:00 +0000)
committerrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Oct 2004 22:00:44 +0000 (22:00 +0000)
is enabled.

        Reviewed by Hyatt.

        * WebView.subproj/WebHTMLView.m:
        (-[WebHTMLView drawRect:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7828 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/ChangeLog
WebKit/WebView.subproj/WebHTMLView.m

index d2565904db617a01ed4ee42cab94e0c11abe98bb..957d9a0ea604f14e1876e57d2c67b2b2a2efbaf7 100644 (file)
@@ -1,3 +1,13 @@
+2004-10-13  Richard Williamson   <rjw@apple.com>
+
+       Don't fill background with transparency unless debug flag
+       is enabled.
+
+        Reviewed by Hyatt.
+
+        * WebView.subproj/WebHTMLView.m:
+        (-[WebHTMLView drawRect:]):
+
 2004-10-12  Richard Williamson   <rjw@apple.com>
 
         Fixed <rdar://problem/3829705> Need to remove filling w/ transparency when not drawing backgroundy.
index 5b51990735b4b7e9fcf11d1e63508f79e26a8d42..7bb2ba240e7618434d24214c98d6fb03ecd2c908 100644 (file)
@@ -1983,7 +1983,7 @@ static WebHTMLView *lastHitView = nil;
             [textRendererFactoryIfCoalescing startCoalesceTextDrawing];
         }
 
-        if (![self _transparentBackground]) {
+        if ([self _transparentBackground]) {
             [[NSColor clearColor] set];
             NSRectFill (rect);
         }