Changeset 128787 in webkit


Ignore:
Timestamp:
Sep 17, 2012 11:49:45 AM (12 years ago)
Author:
Beth Dakin
Message:

https://bugs.webkit.org/show_bug.cgi?id=96936
Opt into layers for fixed positioned elements for TiledDrawingArea

Reviewed by Tim Horton.

This code already exists in DrawingAreaImpl, and we need it for
TiledCoreAnimationDrawingArea as well.

  • WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:

(WebKit::TiledCoreAnimationDrawingArea::updatePreferences):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r128774 r128787  
     12012-09-17  Beth Dakin  <bdakin@apple.com>
     2
     3        https://bugs.webkit.org/show_bug.cgi?id=96936
     4        Opt into layers for fixed positioned elements for TiledDrawingArea
     5
     6        Reviewed by Tim Horton.
     7
     8        This code already exists in DrawingAreaImpl, and we need it for
     9        TiledCoreAnimationDrawingArea as well.
     10        * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
     11        (WebKit::TiledCoreAnimationDrawingArea::updatePreferences):
     12
    1132012-09-17  Anders Carlsson  <andersca@apple.com>
    214
  • trunk/Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm

    r128678 r128787  
    209209    ScrollingThread::dispatch(bind(&ScrollingTree::setScrollingPerformanceLoggingEnabled, m_webPage->corePage()->scrollingCoordinator()->scrollingTree(), scrollingPerformanceLoggingEnabled));
    210210
     211    // Soon we want pages with fixed positioned elements to be able to be scrolled by the ScrollingCoordinator.
     212    // As a part of that work, we have to composite fixed position elements, and we have to allow those
     213    // elements to create a stacking context.
     214    m_webPage->corePage()->settings()->setAcceleratedCompositingForFixedPositionEnabled(true);
     215    m_webPage->corePage()->settings()->setFixedPositionCreatesStackingContext(true);
     216
    211217    bool showDebugBorders = m_webPage->corePage()->settings()->showDebugBorders();
    212218
Note: See TracChangeset for help on using the changeset viewer.