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

darin darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 06:50:18 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit c6f7536a6a64de0b6042cf8902e75f55bf730021
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Oct 16 22:01:56 2002 +0000

    	Fixed the problem where we would leave white bits when making the window larger.
    
            * WebView.subproj/WebHTMLView.m: (-[WebHTMLView drawRect:]): During live resize,
    	use the visible rectangle after doing layout, not before.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2342 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 4150613..f600c10 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,10 @@
+2002-10-16  Darin Adler  <darin at apple.com>
+
+	Fixed the problem where we would leave white bits when making the window larger.
+
+        * WebView.subproj/WebHTMLView.m: (-[WebHTMLView drawRect:]): During live resize,
+	use the visible rectangle after doing layout, not before.
+
 2002-10-16  Richard Williamson  <rjw at apple.com>
 
         Fixed regression in visited links due to change is semantics of
diff --git a/WebKit/ChangeLog-2002-12-03 b/WebKit/ChangeLog-2002-12-03
index 4150613..f600c10 100644
--- a/WebKit/ChangeLog-2002-12-03
+++ b/WebKit/ChangeLog-2002-12-03
@@ -1,3 +1,10 @@
+2002-10-16  Darin Adler  <darin at apple.com>
+
+	Fixed the problem where we would leave white bits when making the window larger.
+
+        * WebView.subproj/WebHTMLView.m: (-[WebHTMLView drawRect:]): During live resize,
+	use the visible rectangle after doing layout, not before.
+
 2002-10-16  Richard Williamson  <rjw at apple.com>
 
         Fixed regression in visited links due to change is semantics of
diff --git a/WebKit/WebView.subproj/WebHTMLView.m b/WebKit/WebView.subproj/WebHTMLView.m
index 6d8b98a..4f761f8 100644
--- a/WebKit/WebView.subproj/WebHTMLView.m
+++ b/WebKit/WebView.subproj/WebHTMLView.m
@@ -381,7 +381,6 @@
     
     if ([self inLiveResize]) {
         if (!NSEqualRects(rect, [self visibleRect])) {
-            rect = [self visibleRect];
             [self setNeedsLayout:YES];
         }
     }
@@ -390,6 +389,10 @@
 
     [self layout];
 
+    if ([self inLiveResize]) {
+        rect = [self visibleRect];
+    }
+    
 #ifdef _KWQ_TIMING
     double start = CFAbsoluteTimeGetCurrent();
 #endif

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list