Ensure that GraphicsLayer positions are updated while doing threaded scrolling
authorSimon Fraser <simon.fraser@apple.com>
Mon, 15 Oct 2012 22:31:08 +0000 (22:31 +0000)
committerSimon Fraser <simon.fraser@apple.com>
Mon, 15 Oct 2012 22:31:08 +0000 (22:31 +0000)
commit7cc807833a30b70762bd5a8ea9583de72ff8d98e
tree5d90936a31d084c093863e01857442f1fbaa90ea
parented543a5a5ce801edd990553c538dfb9781aa6a21
Ensure that GraphicsLayer positions are updated while doing threaded scrolling
https://bugs.webkit.org/show_bug.cgi?id=99372

Reviewed by Anders Carlsson.

When doing threaded scrolling, the scrolling thread updates the positions of CALayers,
but doesn't update GraphicsLayers. This means that code that relies on GraphicsLayer positions
works incorrectly.

Threaded scrolling is not testabled in layout tests.

* page/scrolling/ScrollingCoordinator.cpp:
(WebCore::ScrollingCoordinator::updateMainFrameScrollPosition):
* platform/graphics/GraphicsLayer.h:
(GraphicsLayer):
(WebCore::GraphicsLayer::syncPosition):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131373 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/page/scrolling/ScrollingCoordinator.cpp
Source/WebCore/platform/graphics/GraphicsLayer.h