Changeset 96283 in webkit


Ignore:
Timestamp:
Sep 28, 2011 6:28:54 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

Remove unused createRootLayerPainter from CCLayerTreeHostClient
https://bugs.webkit.org/show_bug.cgi?id=69042

Patch by Antoine Labour <piman@chromium.org> on 2011-09-28
Reviewed by James Robinson.

No new test needed: no semantic change.

  • platform/graphics/chromium/cc/CCLayerTreeHost.h:
Location:
trunk/Source
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r96281 r96283  
     12011-09-28  Antoine Labour  <piman@chromium.org>
     2
     3        Remove unused createRootLayerPainter from CCLayerTreeHostClient
     4        https://bugs.webkit.org/show_bug.cgi?id=69042
     5
     6        Reviewed by James Robinson.
     7
     8        No new test needed: no semantic change.
     9
     10        * platform/graphics/chromium/cc/CCLayerTreeHost.h:
     11
    1122011-09-28  Luke Macpherson   <macpherson@chromium.org>
    213
  • trunk/Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.h

    r96186 r96283  
    5454    virtual PassOwnPtr<CCThread> createCompositorThread() = 0;
    5555    virtual PassRefPtr<GraphicsContext3D> createLayerTreeHostContext3D() = 0;
    56     virtual PassOwnPtr<LayerPainterChromium> createRootLayerPainter() = 0;
    5756    virtual void didRecreateGraphicsContext(bool success) = 0;
    5857#if !USE(THREADED_COMPOSITING)
  • trunk/Source/WebKit/chromium/src/WebViewImpl.cpp

    r95988 r96283  
    27052705}
    27062706
    2707 PassOwnPtr<LayerPainterChromium> WebViewImpl::createRootLayerPainter()
    2708 {
    2709     return WebViewImplContentPainter::create(this);
    2710 }
    2711 
    27122707void WebViewImpl::animateAndLayout(double frameBeginTime)
    27132708{
  • trunk/Source/WebKit/chromium/src/WebViewImpl.h

    r95901 r96283  
    222222    virtual PassOwnPtr<WebCore::CCThread> createCompositorThread();
    223223    virtual PassRefPtr<WebCore::GraphicsContext3D> createLayerTreeHostContext3D();
    224     virtual PassOwnPtr<WebCore::LayerPainterChromium> createRootLayerPainter();
    225224    virtual void didRecreateGraphicsContext(bool success);
    226225#if !USE(THREADED_COMPOSITING)
  • trunk/Source/WebKit/chromium/tests/CCLayerTreeHostTest.cpp

    r96066 r96283  
    3232#include "GraphicsContext3DPrivate.h"
    3333#include "LayerChromium.h"
    34 #include "LayerPainterChromium.h"
    3534#include "MockWebGraphicsContext3D.h"
    3635#include "TextureManager.h"
     
    160159        RefPtr<GraphicsContext3D> context = GraphicsContext3DPrivate::createGraphicsContextFromWebContext(mock.release(), attrs, 0, GraphicsContext3D::RenderDirectlyToHostWindow, GraphicsContext3DPrivate::ForUseOnAnotherThread);
    161160        return context;
    162     }
    163 
    164     virtual PassOwnPtr<LayerPainterChromium> createRootLayerPainter()
    165     {
    166         return nullptr;
    167161    }
    168162
Note: See TracChangeset for help on using the changeset viewer.