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

Unified Diff: webkit/compositor_bindings/WebExternalTextureLayerImpl.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/WebExternalTextureLayerImpl.cpp
diff --git a/webkit/compositor_bindings/WebExternalTextureLayerImpl.cpp b/webkit/compositor_bindings/WebExternalTextureLayerImpl.cpp
index 3ddc75fdb5256acdbf0ddb33bf0d316cb5953c55..165fd636b65736656158b2e248fb81913cd349c9 100644
--- a/webkit/compositor_bindings/WebExternalTextureLayerImpl.cpp
+++ b/webkit/compositor_bindings/WebExternalTextureLayerImpl.cpp
@@ -5,13 +5,13 @@
#include "config.h"
#include "WebExternalTextureLayerImpl.h"
-#include "CCTextureUpdateQueue.h"
-#include "TextureLayerChromium.h"
#include "WebLayerImpl.h"
+#include "cc/texture_layer.h"
+#include "cc/texture_update_queue.h"
+#include "third_party/WebKit/Source/Platform/chromium/public/WebExternalTextureLayerClient.h"
+#include "third_party/WebKit/Source/Platform/chromium/public/WebFloatRect.h"
+#include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h"
#include "webcore_convert.h"
-#include <public/WebExternalTextureLayerClient.h>
-#include <public/WebFloatRect.h>
-#include <public/WebSize.h>
using namespace cc;
@@ -31,7 +31,7 @@ WebExternalTextureLayerImpl::WebExternalTextureLayerImpl(WebExternalTextureLayer
else
layer = TextureLayerChromium::create(0);
layer->setIsDrawable(true);
- m_layer = adoptPtr(new WebLayerImpl(layer));
+ m_layer.reset(new WebLayerImpl(layer));
}
WebExternalTextureLayerImpl::~WebExternalTextureLayerImpl()
« no previous file with comments | « webkit/compositor_bindings/WebExternalTextureLayerImpl.h ('k') | webkit/compositor_bindings/WebFloatAnimationCurveImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698