Skip to content
  • cmarrin@apple.com's avatar
    2011-01-19 Chris Marrin <cmarrin@apple.com> · 1ee1d9dd
    cmarrin@apple.com authored
            Reviewed by Simon Fraser.
    
            WK2 - Multiple crashes in PlatformCALayer::replaceSublayer
            https://bugs.webkit.org/show_bug.cgi?id=52695
    
            Added a hostingLayer as the parent of the existing drawingLayer.
            The hostingLayer is now the root which is passed to the 
            remote context. It never changes except to track the size
            of the window. The backingLayer is now a child of the 
            hostingLayer, which allow it to switch between tiled and
            non-tiled.
    
            I also now give back accurate settings for debug borders and
            repaint counters.
    
            * WebProcess/WebPage/LayerBackedDrawingArea.cpp:
            (WebKit::LayerBackedDrawingArea::LayerBackedDrawingArea):
            (WebKit::LayerBackedDrawingArea::setSize):
            (WebKit::LayerBackedDrawingArea::showDebugBorders):
            (WebKit::LayerBackedDrawingArea::showRepaintCounter):
            * WebProcess/WebPage/LayerBackedDrawingArea.h:
            * WebProcess/WebPage/mac/LayerBackedDrawingAreaMac.mm:
            (WebKit::LayerBackedDrawingArea::platformInit):
            (WebKit::LayerBackedDrawingArea::attachCompositingContext):
            (WebKit::LayerBackedDrawingArea::syncCompositingLayers):
    
    2011-01-19  Chris Marrin  <cmarrin@apple.com>
    
            Reviewed by Simon Fraser.
    
            WK2 - Multiple crashes in PlatformCALayer::replaceSublayer
            https://bugs.webkit.org/show_bug.cgi?id=52695
    
            Added ASSERTs to the places we assume a non-null superlayer.
    
            * platform/graphics/ca/GraphicsLayerCA.cpp:
            (WebCore::GraphicsLayerCA::ensureStructuralLayer):
            (WebCore::GraphicsLayerCA::swapFromOrToTiledLayer):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76142 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    1ee1d9dd