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
+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.
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;
return context;
}
-PassOwnPtr<LayerPainterChromium> WebViewImpl::createRootLayerPainter()
-{
- return WebViewImplContentPainter::create(this);
-}
-
void WebViewImpl::animateAndLayout(double frameBeginTime)
{
animate(frameBeginTime);
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();
#include "CCThreadImpl.h"
#include "GraphicsContext3DPrivate.h"
#include "LayerChromium.h"
-#include "LayerPainterChromium.h"
#include "MockWebGraphicsContext3D.h"
#include "TextureManager.h"
#include "cc/CCLayerTreeHostImpl.h"
return context;
}
- virtual PassOwnPtr<LayerPainterChromium> createRootLayerPainter()
- {
- return nullptr;
- }
-
virtual void didRecreateGraphicsContext(bool)
{
}