Title: [124948] branches/safari-536.26-branch/Source/WebCore
- Revision
- 124948
- Author
- [email protected]
- Date
- 2012-08-07 17:05:03 -0700 (Tue, 07 Aug 2012)
Log Message
Merged r124489. <rdar://problem/12021003>
Modified Paths
Diff
Modified: branches/safari-536.26-branch/Source/WebCore/ChangeLog (124947 => 124948)
--- branches/safari-536.26-branch/Source/WebCore/ChangeLog 2012-08-07 23:58:37 UTC (rev 124947)
+++ branches/safari-536.26-branch/Source/WebCore/ChangeLog 2012-08-08 00:05:03 UTC (rev 124948)
@@ -1,5 +1,30 @@
2012-08-07 Lucas Forschler <[email protected]>
+ Merge 124489
+
+ 2012-08-02 Beth Dakin <[email protected]>
+
+ https://bugs.webkit.org/show_bug.cgi?id=93020
+ REGRESSION (tiled scrolling): Full-screen video is broken if page is
+ scrolled
+ -and corresponding-
+ <rdar://problem/11629778>
+
+ Reviewed by Anders Carlsson.
+
+ The bug here is that ScrollingTreeNodeMac::setScrollLayerPosition()
+ uses the CALayer (PlatformLayer) directly to set the position. That
+ means that the GraphicsLayer that owns that PlatformLayer does not
+ have updated position information. That results in this bug when we
+ switch from fast scrolling to main thread scrolling, because at that
+ point, the GraphicsLayer needs to have the correct information. So
+ make sure to update the main thread scroll position and layer
+ position before transitioning to main thread scrolling.
+ * page/scrolling/ScrollingCoordinator.cpp:
+ (WebCore::ScrollingCoordinator::setShouldUpdateScrollLayerPositionOnMainThread):
+
+2012-08-07 Lucas Forschler <[email protected]>
+
Merge 124463
2012-08-02 Antti Koivisto <[email protected]>
Modified: branches/safari-536.26-branch/Source/WebCore/page/scrolling/ScrollingCoordinator.cpp (124947 => 124948)
--- branches/safari-536.26-branch/Source/WebCore/page/scrolling/ScrollingCoordinator.cpp 2012-08-07 23:58:37 UTC (rev 124947)
+++ branches/safari-536.26-branch/Source/WebCore/page/scrolling/ScrollingCoordinator.cpp 2012-08-08 00:05:03 UTC (rev 124948)
@@ -391,6 +391,11 @@
void ScrollingCoordinator::setShouldUpdateScrollLayerPositionOnMainThread(bool shouldUpdateScrollLayerPositionOnMainThread)
{
+ // The FrameView's GraphicsLayer is likely to be out-of-synch with the PlatformLayer
+ // at this point. So we'll update it before we switch back to main thread scrolling
+ // in order to avoid layer positioning bugs.
+ if (shouldUpdateScrollLayerPositionOnMainThread)
+ updateMainFrameScrollPositionAndScrollLayerPosition();
m_scrollingTreeState->setShouldUpdateScrollLayerPositionOnMainThread(shouldUpdateScrollLayerPositionOnMainThread);
scheduleTreeStateCommit();
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes