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

hyatt at apple.com hyatt at apple.com
Wed Dec 22 17:53:09 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit d3c399f3173afb1b20e73ba200267b74136b1dbc
Author: hyatt at apple.com <hyatt at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Dec 2 00:56:25 2010 +0000

    https://bugs.webkit.org/show_bug.cgi?id=50360
    
    Reviewed by James Robinson.
    
    Make sure to include the origin adjustment code that I added on Mac to keep truncation-rtl.html passing.
    
    * platform/ScrollView.cpp:
    (WebCore::ScrollView::updateScrollbars):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73087 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 56fa81d..5d42cdb 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,5 +1,16 @@
 2010-12-01  David Hyatt  <hyatt at apple.com>
 
+        Reviewed by James Robinson.
+
+        https://bugs.webkit.org/show_bug.cgi?id=50360
+        
+        Make sure to include the origin adjustment code that I added on Mac to keep truncation-rtl.html passing.
+
+        * platform/ScrollView.cpp:
+        (WebCore::ScrollView::updateScrollbars):
+
+2010-12-01  David Hyatt  <hyatt at apple.com>
+
         Reviewed by Dan Bernstein.
 
         https://bugs.webkit.org/show_bug.cgi?id=46645
diff --git a/WebCore/platform/ScrollView.cpp b/WebCore/platform/ScrollView.cpp
index 424c4d7..ab9ee8a 100644
--- a/WebCore/platform/ScrollView.cpp
+++ b/WebCore/platform/ScrollView.cpp
@@ -451,11 +451,15 @@ void ScrollView::updateScrollbars(const IntSize& desiredOffset)
             newHasHorizontalScrollbar = false;
 
         if (hasHorizontalScrollbar != newHasHorizontalScrollbar) {
+            if (m_scrollOrigin.y() && !newHasHorizontalScrollbar)
+                m_scrollOrigin.setY(m_scrollOrigin.y() - m_horizontalScrollbar->height());
             setHasHorizontalScrollbar(newHasHorizontalScrollbar);
             sendContentResizedNotification = true;
         }
 
         if (hasVerticalScrollbar != newHasVerticalScrollbar) {
+            if (m_scrollOrigin.x() && !newHasVerticalScrollbar)
+                m_scrollOrigin.setX(m_scrollOrigin.x() - m_verticalScrollbar->width());
             setHasVerticalScrollbar(newHasVerticalScrollbar);
             sendContentResizedNotification = true;
         }

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list