Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(454)

Unified Diff: webkit/compositor_bindings/WebSolidColorLayerImpl.cpp

Issue 11142031: Remove WTF dependencies from webkit_compositor_bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/compositor_bindings/WebSolidColorLayerImpl.cpp
diff --git a/webkit/compositor_bindings/WebSolidColorLayerImpl.cpp b/webkit/compositor_bindings/WebSolidColorLayerImpl.cpp
index e0cd08e213e2f40e07086aa66e736b710b5af99d..f763eb442edcf179e4e185ede916059629051856 100644
--- a/webkit/compositor_bindings/WebSolidColorLayerImpl.cpp
+++ b/webkit/compositor_bindings/WebSolidColorLayerImpl.cpp
@@ -5,9 +5,8 @@
#include "config.h"
#include "WebSolidColorLayerImpl.h"
-#include "SolidColorLayerChromium.h"
#include "WebLayerImpl.h"
-#include <wtf/PassOwnPtr.h>
+#include "cc/solid_color_layer.h"
using cc::SolidColorLayerChromium;
@@ -19,7 +18,7 @@ WebSolidColorLayer* WebSolidColorLayer::create()
}
WebSolidColorLayerImpl::WebSolidColorLayerImpl()
- : m_layer(adoptPtr(new WebLayerImpl(SolidColorLayerChromium::create())))
+ : m_layer(new WebLayerImpl(SolidColorLayerChromium::create()))
{
m_layer->layer()->setIsDrawable(true);
}
« no previous file with comments | « webkit/compositor_bindings/WebSolidColorLayerImpl.h ('k') | webkit/compositor_bindings/WebToCCInputHandlerAdapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698