[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

andreas.kling at nokia.com andreas.kling at nokia.com
Wed Dec 22 16:01:55 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 8596f2f839a32800ee26bcd147c62d0267f7f459
Author: andreas.kling at nokia.com <andreas.kling at nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Nov 17 23:19:00 2010 +0000

    2010-11-17  Kenneth Rohde Christansen  <kenneth at webkit.org>
    
            Reviewed by Andreas Kling.
    
            ScrollView: Update the actualVisibleContentRect after delegating a scroll.
    
            This lets us avoid updating the actualVisibleContentRect from the client
            after each scroll. We had to do this synchronously for WebKit2 to support
            programmatic "animated scrolling" from JS.
    
            * platform/ScrollView.cpp:
            (WebCore::ScrollView::setScrollPosition):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72252 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 229599e..7973db7 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,16 @@
+2010-11-17  Kenneth Rohde Christansen  <kenneth at webkit.org>
+
+        Reviewed by Andreas Kling.
+
+        ScrollView: Update the actualVisibleContentRect after delegating a scroll.
+
+        This lets us avoid updating the actualVisibleContentRect from the client
+        after each scroll. We had to do this synchronously for WebKit2 to support
+        programmatic "animated scrolling" from JS.
+
+        * platform/ScrollView.cpp:
+        (WebCore::ScrollView::setScrollPosition):
+
 2010-11-17  Andreas Kling  <kling at webkit.org>
 
         Reviewed by Kenneth Rohde Christiansen.
diff --git a/WebCore/platform/ScrollView.cpp b/WebCore/platform/ScrollView.cpp
index 342a344..1d1d2e2 100644
--- a/WebCore/platform/ScrollView.cpp
+++ b/WebCore/platform/ScrollView.cpp
@@ -336,6 +336,8 @@ void ScrollView::setScrollPosition(const IntPoint& scrollPoint)
 #if ENABLE(TILED_BACKING_STORE)
     if (delegatesScrolling()) {
         hostWindow()->delegatedScrollRequested(IntSize(scrollPoint.x(), scrollPoint.y()));
+        if (!m_actualVisibleContentRect.isEmpty())
+            m_actualVisibleContentRect.setLocation(scrollPoint);
         return;
     }
 #endif

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list