[SCM] WebKit Debian packaging branch, webkit-1.3, updated. upstream/1.3.7-4207-g178b198

andersca at apple.com andersca at apple.com
Sun Feb 20 23:44:16 UTC 2011


The following commit has been merged in the webkit-1.3 branch:
commit a31b9aaa0136152581dc2aaf4762f857d7559b0a
Author: andersca at apple.com <andersca at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Jan 24 19:18:43 2011 +0000

    2011-01-24  Anders Carlsson  <andersca at apple.com>
    
            Reviewed by Sam Weinig.
    
            Implement forceRedisplay in the new drawing area
            https://bugs.webkit.org/show_bug.cgi?id=53026
    
            * WebProcess/WebPage/DrawingAreaImpl.cpp:
            (WebKit::DrawingAreaImpl::forceRepaint):
            * WebProcess/WebPage/DrawingAreaImpl.h:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76535 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/Source/WebKit2/ChangeLog b/Source/WebKit2/ChangeLog
index a106644..c2e796b 100644
--- a/Source/WebKit2/ChangeLog
+++ b/Source/WebKit2/ChangeLog
@@ -2,6 +2,17 @@
 
         Reviewed by Sam Weinig.
 
+        Implement forceRedisplay in the new drawing area
+        https://bugs.webkit.org/show_bug.cgi?id=53026
+
+        * WebProcess/WebPage/DrawingAreaImpl.cpp:
+        (WebKit::DrawingAreaImpl::forceRepaint):
+        * WebProcess/WebPage/DrawingAreaImpl.h:
+
+2011-01-24  Anders Carlsson  <andersca at apple.com>
+
+        Reviewed by Sam Weinig.
+
         Fill unpainted rects with the background color.
         https://bugs.webkit.org/show_bug.cgi?id=53025
 
diff --git a/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp b/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp
index 2063bd6..09140bc 100644
--- a/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp
+++ b/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp
@@ -109,6 +109,12 @@ void DrawingAreaImpl::scroll(const IntRect& scrollRect, const IntSize& scrollOff
     m_scrollOffset += scrollOffset;
 }
 
+void DrawingAreaImpl::forceRepaint()
+{
+    m_isWaitingForDidUpdate = false;
+    display();
+}
+
 void DrawingAreaImpl::attachCompositingContext()
 {
 }
diff --git a/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.h b/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.h
index 1212f83..dabb323 100644
--- a/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.h
+++ b/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.h
@@ -45,6 +45,7 @@ private:
     // DrawingArea
     virtual void setNeedsDisplay(const WebCore::IntRect&);
     virtual void scroll(const WebCore::IntRect& scrollRect, const WebCore::IntSize& scrollOffset);
+    virtual void forceRepaint();
     virtual void attachCompositingContext();
     virtual void detachCompositingContext();
     virtual void setRootCompositingLayer(WebCore::GraphicsLayer*);

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list