[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

hyatt hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:34:24 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 8f3718b8e9c6587bfa689b959f66c0acd7bbe31a
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Apr 15 22:28:07 2004 +0000

    	Make sure isOpaque returns NO when the WebHTMLVIew doesn't draw its background.
    
            Reviewed by darin
    
            * WebView.subproj/WebFrameView.m:
            (-[WebFrameView isOpaque]):
            * WebView.subproj/WebHTMLView.m:
            (-[WebHTMLView isOpaque]):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6390 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 362c58d..a73c728 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,14 @@
+2004-04-15  David Hyatt  <hyatt at apple.com>
+
+	Make sure isOpaque returns NO when the WebHTMLVIew doesn't draw its background.
+	
+        Reviewed by darin
+
+        * WebView.subproj/WebFrameView.m:
+        (-[WebFrameView isOpaque]):
+        * WebView.subproj/WebHTMLView.m:
+        (-[WebHTMLView isOpaque]):
+
 2004-04-15  John Sullivan  <sullivan at apple.com>
 
         * WebView.subproj/WebPreferencesPrivate.h:
diff --git a/WebKit/WebView.subproj/WebFrameView.m b/WebKit/WebView.subproj/WebFrameView.m
index c02af4c..1ce68b0 100644
--- a/WebKit/WebView.subproj/WebFrameView.m
+++ b/WebKit/WebView.subproj/WebFrameView.m
@@ -513,7 +513,7 @@ static NSMutableDictionary *viewTypes;
 
 - (BOOL)isOpaque
 {
-    return YES;
+    return [[self _webView] drawsBackground];
 }
 
 - (void)drawRect:(NSRect)rect
diff --git a/WebKit/WebView.subproj/WebHTMLView.m b/WebKit/WebView.subproj/WebHTMLView.m
index 22b48f0..7a9513d 100644
--- a/WebKit/WebView.subproj/WebHTMLView.m
+++ b/WebKit/WebView.subproj/WebHTMLView.m
@@ -1411,7 +1411,7 @@ static WebHTMLView *lastHitView = nil;
 
 - (BOOL)isOpaque
 {
-    return YES;
+    return [[self _webView] drawsBackground];
 }
 
 - (void)setNeedsDisplay:(BOOL)flag

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list