Title: [106317] trunk/Source/WebCore
- Revision
- 106317
- Author
- [email protected]
- Date
- 2012-01-30 18:43:37 -0800 (Mon, 30 Jan 2012)
Log Message
Scrollbars don't show when scrolling on the scrolling thread
https://bugs.webkit.org/show_bug.cgi?id=77396
<rdar://problem/10710736>
Reviewed by Sam Weinig.
Use ScrollAnimator::scrollToOffsetWithoutAnimation when updating the frame view scroll offset,
since that function will end up invalidating the scrollbars correctly.
* page/ScrollingCoordinator.cpp:
(WebCore::ScrollingCoordinator::didUpdateMainFrameScrollPosition):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (106316 => 106317)
--- trunk/Source/WebCore/ChangeLog 2012-01-31 02:43:27 UTC (rev 106316)
+++ trunk/Source/WebCore/ChangeLog 2012-01-31 02:43:37 UTC (rev 106317)
@@ -1,5 +1,19 @@
2012-01-30 Anders Carlsson <[email protected]>
+ Scrollbars don't show when scrolling on the scrolling thread
+ https://bugs.webkit.org/show_bug.cgi?id=77396
+ <rdar://problem/10710736>
+
+ Reviewed by Sam Weinig.
+
+ Use ScrollAnimator::scrollToOffsetWithoutAnimation when updating the frame view scroll offset,
+ since that function will end up invalidating the scrollbars correctly.
+
+ * page/ScrollingCoordinator.cpp:
+ (WebCore::ScrollingCoordinator::didUpdateMainFrameScrollPosition):
+
+2012-01-30 Anders Carlsson <[email protected]>
+
Show repaint counters in individual tiles
https://bugs.webkit.org/show_bug.cgi?id=77390
<rdar://problem/10767967>
Modified: trunk/Source/WebCore/page/ScrollingCoordinator.cpp (106316 => 106317)
--- trunk/Source/WebCore/page/ScrollingCoordinator.cpp 2012-01-31 02:43:27 UTC (rev 106316)
+++ trunk/Source/WebCore/page/ScrollingCoordinator.cpp 2012-01-31 02:43:37 UTC (rev 106317)
@@ -34,6 +34,7 @@
#include "IntRect.h"
#include "Page.h"
#include "PlatformWheelEvent.h"
+#include "ScrollAnimator.h"
#include <wtf/Functional.h>
#include <wtf/MainThread.h>
#include <wtf/PassRefPtr.h>
@@ -141,8 +142,11 @@
m_didDispatchDidUpdateMainFrameScrollPosition = false;
}
- if (FrameView* frameView = m_page->mainFrame()->view())
- frameView->setScrollOffset(scrollPosition);
+ if (FrameView* frameView = m_page->mainFrame()->view()) {
+ frameView->setConstrainsScrollingToContentEdge(false);
+ frameView->scrollToOffsetWithoutAnimation(scrollPosition);
+ frameView->setConstrainsScrollingToContentEdge(true);
+ }
}
} // namespace WebCore
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes