Remove unused createRootLayerPainter from CCLayerTreeHostClient
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Sep 2011 01:28:54 +0000 (01:28 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Sep 2011 01:28:54 +0000 (01:28 +0000)
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:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96283 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.h
Source/WebKit/chromium/src/WebViewImpl.cpp
Source/WebKit/chromium/src/WebViewImpl.h
Source/WebKit/chromium/tests/CCLayerTreeHostTest.cpp

index 3ce8889..12070b7 100644 (file)
@@ -1,3 +1,14 @@
+2011-09-28  Antoine Labour  <piman@chromium.org>
+
+        Remove unused createRootLayerPainter from CCLayerTreeHostClient
+        https://bugs.webkit.org/show_bug.cgi?id=69042
+
+        Reviewed by James Robinson.
+
+        No new test needed: no semantic change.
+
+        * platform/graphics/chromium/cc/CCLayerTreeHost.h:
+
 2011-09-28  Luke Macpherson   <macpherson@chromium.org>
 
         Only resolve direction aware properties when properties are direction aware.
index c905094..54ad4c0 100644 (file)
@@ -53,7 +53,6 @@ public:
     virtual void animateAndLayout(double frameBeginTime) = 0;
     virtual PassOwnPtr<CCThread> createCompositorThread() = 0;
     virtual PassRefPtr<GraphicsContext3D> createLayerTreeHostContext3D() = 0;
-    virtual PassOwnPtr<LayerPainterChromium> createRootLayerPainter() = 0;
     virtual void didRecreateGraphicsContext(bool success) = 0;
 #if !USE(THREADED_COMPOSITING)
     virtual void scheduleComposite() = 0;
index fc06c65..011256b 100644 (file)
@@ -2704,11 +2704,6 @@ PassRefPtr<GraphicsContext3D> WebViewImpl::createLayerTreeHostContext3D()
     return context;
 }
 
-PassOwnPtr<LayerPainterChromium> WebViewImpl::createRootLayerPainter()
-{
-    return WebViewImplContentPainter::create(this);
-}
-
 void WebViewImpl::animateAndLayout(double frameBeginTime)
 {
     animate(frameBeginTime);
index c9892cc..b39549a 100644 (file)
@@ -221,7 +221,6 @@ public:
     virtual void animateAndLayout(double frameBeginTime);
     virtual PassOwnPtr<WebCore::CCThread> createCompositorThread();
     virtual PassRefPtr<WebCore::GraphicsContext3D> createLayerTreeHostContext3D();
-    virtual PassOwnPtr<WebCore::LayerPainterChromium> createRootLayerPainter();
     virtual void didRecreateGraphicsContext(bool success);
 #if !USE(THREADED_COMPOSITING)
     virtual void scheduleComposite();
index 334050d..673b1f5 100644 (file)
@@ -31,7 +31,6 @@
 #include "CCThreadImpl.h"
 #include "GraphicsContext3DPrivate.h"
 #include "LayerChromium.h"
-#include "LayerPainterChromium.h"
 #include "MockWebGraphicsContext3D.h"
 #include "TextureManager.h"
 #include "cc/CCLayerTreeHostImpl.h"
@@ -161,11 +160,6 @@ public:
         return context;
     }
 
-    virtual PassOwnPtr<LayerPainterChromium> createRootLayerPainter()
-    {
-        return nullptr;
-    }
-
     virtual void didRecreateGraphicsContext(bool)
     {
     }