Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Unified Diff: Source/WebCore/platform/ScrollView.cpp

Issue 6490004: Merge 77549 - Scroll thumb jumps to top when resizing horizontally.... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/648/
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/ScrollView.cpp
===================================================================
--- Source/WebCore/platform/ScrollView.cpp (revision 78241)
+++ Source/WebCore/platform/ScrollView.cpp (working copy)
@@ -550,6 +550,12 @@
ScrollableArea::scrollToOffsetWithoutAnimation(FloatPoint(scroll.width() + m_scrollOrigin.x(), scroll.height() + m_scrollOrigin.y()));
+ // Make sure the scrollbar offsets are up to date.
+ if (m_horizontalScrollbar)
+ m_horizontalScrollbar->offsetDidChange();
+ if (m_verticalScrollbar)
+ m_verticalScrollbar->offsetDidChange();
+
m_inUpdateScrollbars = false;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698