Skip to content
  • commit-queue@webkit.org's avatar
    Remove preserves3D() from CCLayerDelegate, replacing it by setting the · 04f485d6
    commit-queue@webkit.org authored
    value explicitly after creating a layer, or setting its delegate.
    https://bugs.webkit.org/show_bug.cgi?id=68295
    
    Patch by Antoine Labour <piman@chromium.org> on 2011-09-23
    Reviewed by James Robinson.
    
    Covered by compositing/ layeout tests.
    
    * platform/graphics/chromium/GraphicsLayerChromium.cpp:
    (WebCore::GraphicsLayerChromium::setContentsToCanvas):
    (WebCore::GraphicsLayerChromium::setContentsToMedia):
    (WebCore::GraphicsLayerChromium::updateLayerPreserves3D):
    (WebCore::GraphicsLayerChromium::setupContentsLayer):
    * platform/graphics/chromium/GraphicsLayerChromium.h:
    * platform/graphics/chromium/LayerChromium.cpp:
    (WebCore::LayerChromium::LayerChromium):
    * platform/graphics/chromium/LayerChromium.h:
    (WebCore::LayerChromium::setPreserves3D):
    (WebCore::LayerChromium::preserves3D):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95886 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    04f485d6