[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:21:36 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit ca0db2ad335ddbd61c742a04daaea0a592983f66
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Jan 9 22:47:11 2004 +0000

    	Fixes for 3510669 and 3515442, blank frame problems caused by WebKit's use of a separate needsLayout boolean.
    
            Reviewed by darin
    
            * kwq/WebCoreBridge.h:
            * kwq/WebCoreBridge.mm:
            (-[WebCoreBridge setNeedsLayout]):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5881 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index b0914b5..cd404de 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,13 @@
+2004-01-09  David Hyatt  <hyatt at apple.com>
+
+	Fixes for 3510669 and 3515442, blank frame problems caused by WebKit's use of a separate needsLayout boolean.
+	
+        Reviewed by darin
+
+        * kwq/WebCoreBridge.h:
+        * kwq/WebCoreBridge.mm:
+        (-[WebCoreBridge setNeedsLayout]):
+
 2004-01-08  David Hyatt  <hyatt at apple.com>
 
 	Fix for 3524118, floats don't repaint when moved.
diff --git a/WebCore/kwq/WebCoreBridge.h b/WebCore/kwq/WebCoreBridge.h
index 202ec8d..ad5037c 100644
--- a/WebCore/kwq/WebCoreBridge.h
+++ b/WebCore/kwq/WebCoreBridge.h
@@ -149,6 +149,7 @@ typedef enum {
 - (void)forceLayoutWithMinimumPageWidth:(float)minPageWidth maximumPageWidth:(float)maxPageWidth adjustingViewSize:(BOOL)adjustSizeFlag;
 - (void)sendResizeEvent;
 - (BOOL)needsLayout;
+- (void)setNeedsLayout;
 - (void)drawRect:(NSRect)rect;
 - (void)adjustPageHeightNew:(float *)newBottom top:(float)oldTop bottom:(float)oldBottom limit:(float)bottomLimit;
 - (NSArray*)computePageRectsWithPrintWidth:(float)printWidth printHeight:(float)printHeight;
@@ -315,7 +316,6 @@ typedef enum {
 - (NSArray *)documentState;
 
 - (void)setNeedsReapplyStyles;
-- (void)setNeedsLayout;
 
 // OK to be an NSString rather than an NSURL.
 // This URL is only used for coloring visited links.
diff --git a/WebCore/kwq/WebCoreBridge.mm b/WebCore/kwq/WebCoreBridge.mm
index b4c3222..01a6278 100644
--- a/WebCore/kwq/WebCoreBridge.mm
+++ b/WebCore/kwq/WebCoreBridge.mm
@@ -1052,6 +1052,13 @@ static HTMLFormElementImpl *formElementFromDOMElement(id <WebDOMElement>element)
     return renderer ? renderer->needsLayout() : false;
 }
 
+- (void)setNeedsLayout
+{
+    RenderObject *renderer = _part->renderer();
+    if (renderer)
+        renderer->setNeedsLayout(true);
+}
+
 - (BOOL)interceptKeyEvent:(NSEvent *)event toView:(NSView *)view
 {
     return _part->keyEvent(event);

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list