Title: [134098] trunk/Source/WebKit2
Revision
134098
Author
[email protected]
Date
2012-11-09 12:30:08 -0800 (Fri, 09 Nov 2012)

Log Message

[EFL][WK2][AC] Fixed layers are shaking when scrolling
https://bugs.webkit.org/show_bug.cgi?id=101549

Patch by Hurnjoo Lee <[email protected]> on 2012-11-09
Reviewed by Kenneth Rohde Christiansen.

At the time of adjusting positions for fixed layers, the locations of
fixed layers are calculated incorrectly because the contentsSize is empty.

* UIProcess/efl/PageViewportControllerClientEfl.cpp:
(WebKit::PageViewportControllerClientEfl::didChangeContentsSize): Call the
setContentsSize function in LayerTreeCoordinatorProxy in order to calculate
the locations of fixed layers correctly.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (134097 => 134098)


--- trunk/Source/WebKit2/ChangeLog	2012-11-09 20:16:26 UTC (rev 134097)
+++ trunk/Source/WebKit2/ChangeLog	2012-11-09 20:30:08 UTC (rev 134098)
@@ -1,3 +1,18 @@
+2012-11-09  Hurnjoo Lee  <[email protected]>
+
+        [EFL][WK2][AC] Fixed layers are shaking when scrolling
+        https://bugs.webkit.org/show_bug.cgi?id=101549
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        At the time of adjusting positions for fixed layers, the locations of
+        fixed layers are calculated incorrectly because the contentsSize is empty.
+
+        * UIProcess/efl/PageViewportControllerClientEfl.cpp:
+        (WebKit::PageViewportControllerClientEfl::didChangeContentsSize): Call the
+        setContentsSize function in LayerTreeCoordinatorProxy in order to calculate
+        the locations of fixed layers correctly.
+
 2012-11-09  Brady Eidson  <[email protected]>
 
         NetworkRequest refactoring

Modified: trunk/Source/WebKit2/UIProcess/efl/PageViewportControllerClientEfl.cpp (134097 => 134098)


--- trunk/Source/WebKit2/UIProcess/efl/PageViewportControllerClientEfl.cpp	2012-11-09 20:16:26 UTC (rev 134097)
+++ trunk/Source/WebKit2/UIProcess/efl/PageViewportControllerClientEfl.cpp	2012-11-09 20:30:08 UTC (rev 134098)
@@ -78,8 +78,9 @@
     m_controller->didChangeContentsVisibility(m_scrollPosition, m_scaleFactor, trajectory);
 }
 
-void PageViewportControllerClientEfl::didChangeContentsSize(const WebCore::IntSize&)
+void PageViewportControllerClientEfl::didChangeContentsSize(const WebCore::IntSize& contentsSize)
 {
+    drawingArea()->layerTreeCoordinatorProxy()->setContentsSize(contentsSize);
     m_viewImpl->update();
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to