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

sullivan sullivan at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 06:22:55 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit baea39bfc1b9b88cfcdc9381487fa5d5b5dd174a
Author: sullivan <sullivan at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Jul 2 21:28:56 2002 +0000

    	Remove unnecessary code to fill with white from here; this code
    	path has changed. Now it just bails out early in the case where
    	there's no widget.
    
            * WebView.subproj/IFHTMLView.mm:
            (-[IFHTMLView drawRect:]):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1494 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 819623b..1427131 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,5 +1,14 @@
 2002-07-02  John Sullivan  <sullivan at apple.com>
 
+	Remove unnecessary code to fill with white from here; this code
+	path has changed. Now it just bails out early in the case where
+	there's no widget.
+
+        * WebView.subproj/IFHTMLView.mm:
+        (-[IFHTMLView drawRect:]):
+
+2002-07-02  John Sullivan  <sullivan at apple.com>
+
 	Made IFWebView fill with white when there's no document view. This fixes:
 	
 	- 2978210 -- problems with "hide status bar"
diff --git a/WebKit/ChangeLog-2002-12-03 b/WebKit/ChangeLog-2002-12-03
index 819623b..1427131 100644
--- a/WebKit/ChangeLog-2002-12-03
+++ b/WebKit/ChangeLog-2002-12-03
@@ -1,5 +1,14 @@
 2002-07-02  John Sullivan  <sullivan at apple.com>
 
+	Remove unnecessary code to fill with white from here; this code
+	path has changed. Now it just bails out early in the case where
+	there's no widget.
+
+        * WebView.subproj/IFHTMLView.mm:
+        (-[IFHTMLView drawRect:]):
+
+2002-07-02  John Sullivan  <sullivan at apple.com>
+
 	Made IFWebView fill with white when there's no document view. This fixes:
 	
 	- 2978210 -- problems with "hide status bar"
diff --git a/WebKit/WebView.subproj/IFHTMLView.mm b/WebKit/WebView.subproj/IFHTMLView.mm
index f446975..b596a3a 100644
--- a/WebKit/WebView.subproj/IFHTMLView.mm
+++ b/WebKit/WebView.subproj/IFHTMLView.mm
@@ -318,13 +318,9 @@
     //    return;
     //}
     
-    // Draw plain white bg in empty case, to avoid redraw weirdness when
-    // no page is yet loaded (2890818). We may need to modify this to always
-    // draw the background color, in which case we'll have to make sure the
-    // no-widget case is still handled correctly.
     if (widget == 0) {
-        [[NSColor whiteColor] set];
-        NSRectFill(rect);
+        // This used to fill with white, but the window-with-no-content case is now handled
+        // by IFHTMLView.
         return;
     }
 
diff --git a/WebKit/WebView.subproj/WebHTMLView.m b/WebKit/WebView.subproj/WebHTMLView.m
index f446975..b596a3a 100644
--- a/WebKit/WebView.subproj/WebHTMLView.m
+++ b/WebKit/WebView.subproj/WebHTMLView.m
@@ -318,13 +318,9 @@
     //    return;
     //}
     
-    // Draw plain white bg in empty case, to avoid redraw weirdness when
-    // no page is yet loaded (2890818). We may need to modify this to always
-    // draw the background color, in which case we'll have to make sure the
-    // no-widget case is still handled correctly.
     if (widget == 0) {
-        [[NSColor whiteColor] set];
-        NSRectFill(rect);
+        // This used to fill with white, but the window-with-no-content case is now handled
+        // by IFHTMLView.
         return;
     }
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list