Title: [96283] trunk/Source
- Revision
- 96283
- Author
- [email protected]
- Date
- 2011-09-28 18:28:54 -0700 (Wed, 28 Sep 2011)
Log Message
Remove unused createRootLayerPainter from CCLayerTreeHostClient
https://bugs.webkit.org/show_bug.cgi?id=69042
Patch by Antoine Labour <[email protected]> on 2011-09-28
Reviewed by James Robinson.
No new test needed: no semantic change.
* platform/graphics/chromium/cc/CCLayerTreeHost.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (96282 => 96283)
--- trunk/Source/WebCore/ChangeLog 2011-09-29 01:03:30 UTC (rev 96282)
+++ trunk/Source/WebCore/ChangeLog 2011-09-29 01:28:54 UTC (rev 96283)
@@ -1,3 +1,14 @@
+2011-09-28 Antoine Labour <[email protected]>
+
+ 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 <[email protected]>
Only resolve direction aware properties when properties are direction aware.
Modified: trunk/Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.h (96282 => 96283)
--- trunk/Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.h 2011-09-29 01:03:30 UTC (rev 96282)
+++ trunk/Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.h 2011-09-29 01:28:54 UTC (rev 96283)
@@ -53,7 +53,6 @@
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;
Modified: trunk/Source/WebKit/chromium/src/WebViewImpl.cpp (96282 => 96283)
--- trunk/Source/WebKit/chromium/src/WebViewImpl.cpp 2011-09-29 01:03:30 UTC (rev 96282)
+++ trunk/Source/WebKit/chromium/src/WebViewImpl.cpp 2011-09-29 01:28:54 UTC (rev 96283)
@@ -2704,11 +2704,6 @@
return context;
}
-PassOwnPtr<LayerPainterChromium> WebViewImpl::createRootLayerPainter()
-{
- return WebViewImplContentPainter::create(this);
-}
-
void WebViewImpl::animateAndLayout(double frameBeginTime)
{
animate(frameBeginTime);
Modified: trunk/Source/WebKit/chromium/src/WebViewImpl.h (96282 => 96283)
--- trunk/Source/WebKit/chromium/src/WebViewImpl.h 2011-09-29 01:03:30 UTC (rev 96282)
+++ trunk/Source/WebKit/chromium/src/WebViewImpl.h 2011-09-29 01:28:54 UTC (rev 96283)
@@ -221,7 +221,6 @@
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();
Modified: trunk/Source/WebKit/chromium/tests/CCLayerTreeHostTest.cpp (96282 => 96283)
--- trunk/Source/WebKit/chromium/tests/CCLayerTreeHostTest.cpp 2011-09-29 01:03:30 UTC (rev 96282)
+++ trunk/Source/WebKit/chromium/tests/CCLayerTreeHostTest.cpp 2011-09-29 01:28:54 UTC (rev 96283)
@@ -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 @@
return context;
}
- virtual PassOwnPtr<LayerPainterChromium> createRootLayerPainter()
- {
- return nullptr;
- }
-
virtual void didRecreateGraphicsContext(bool)
{
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes