Changeset 150798 in webkit


Ignore:
Timestamp:
May 28, 2013 6:07:36 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[Qt] REGRESSION(r149292): broke scrolling in Qt WK2 desktop mode
https://bugs.webkit.org/show_bug.cgi?id=116597

ScrollingCoordinatorCoordinatedGraphics is tailored specifically for
fixedLayout mode. When fixedLayout is not set, it should be turned off.

Patch by Noam Rosenthal <Noam Rosenthal> on 2013-05-28
Reviewed by Allan Sandfeld Jensen.

  • WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:

(WebKit::CoordinatedLayerTreeHost::CoordinatedLayerTreeHost):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r150796 r150798  
     12013-05-28  Noam Rosenthal  <noam@webkit.org>
     2
     3        [Qt] REGRESSION(r149292): broke scrolling in Qt WK2 desktop mode
     4        https://bugs.webkit.org/show_bug.cgi?id=116597
     5
     6        ScrollingCoordinatorCoordinatedGraphics is tailored specifically for
     7        fixedLayout mode. When fixedLayout is not set, it should be turned off.
     8
     9        Reviewed by Allan Sandfeld Jensen.
     10
     11        * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
     12        (WebKit::CoordinatedLayerTreeHost::CoordinatedLayerTreeHost):
     13
    1142013-05-28  Andreas Kling  <akling@apple.com>
    215
  • trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp

    r150578 r150798  
    100100#endif
    101101{
    102     m_webPage->corePage()->settings()->setScrollingCoordinatorEnabled(true);
     102    if (m_webPage->useFixedLayout())
     103        m_webPage->corePage()->settings()->setScrollingCoordinatorEnabled(true);
    103104    m_webPage->corePage()->settings()->setApplyDeviceScaleFactorInCompositor(true);
    104105
Note: See TracChangeset for help on using the changeset viewer.