RESOLVED FIXED 138419
[EFL] Remove m_scrollPosition from CoordinatedGraphicsScene
https://bugs.webkit.org/show_bug.cgi?id=138419
Summary [EFL] Remove m_scrollPosition from CoordinatedGraphicsScene
Ryuan Choi
Reported 2014-11-05 06:14:05 PST
m_scrollPosition of CoordinatedGraphicsScene is only to adjust fixed element in paintToCurrentGLContext. But, WebView already know it so we can pass it to paintToCurrentGLContext.
Attachments
Patch (7.73 KB, patch)
2014-11-05 06:20 PST, Ryuan Choi
no flags
Ryuan Choi
Comment 1 2014-11-05 06:20:12 PST
Gyuyoung Kim
Comment 2 2014-11-06 00:16:25 PST
Comment on attachment 241025 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=241025&action=review > Source/WebKit2/UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp:-77 > - const FloatPoint& scrollPosition = rect.location(); Is this scrollPosition same with contentPosition which is used by this patch ? I think this patch should pass WKViewRestoreZoomAndScrollBackForward unit test at least.
Ryuan Choi
Comment 3 2014-11-06 00:26:34 PST
Comment on attachment 241025 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=241025&action=review >> Source/WebKit2/UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp:-77 >> - const FloatPoint& scrollPosition = rect.location(); > > Is this scrollPosition same with contentPosition which is used by this patch ? I think this patch should pass WKViewRestoreZoomAndScrollBackForward unit test at least. Sure, scroll API such as EwkView::scrollBy update m_contentPosition via WKViewSetContentPosition and calls setVisibleContentRect via didChangeContentsVisibility. If these are different, fixed elements will be drawn at wrong coordination. And I tested WKViewRestoreZoomAndScrollBackForward and WKViewScrollTo and both tests are fine.
WebKit Commit Bot
Comment 4 2014-11-06 02:08:53 PST
Comment on attachment 241025 [details] Patch Clearing flags on attachment: 241025 Committed r175692: <http://trac.webkit.org/changeset/175692>
WebKit Commit Bot
Comment 5 2014-11-06 02:09:00 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.