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

Unified Diff: cc/CCStreamVideoDrawQuad.h

Issue 10989024: cc: Remove OwnPtr usage from CCRenderPass and CCDrawQuad class hierarchy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 3 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
« no previous file with comments | « cc/CCSolidColorLayerImpl.cpp ('k') | cc/CCStreamVideoDrawQuad.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCStreamVideoDrawQuad.h
diff --git a/cc/CCStreamVideoDrawQuad.h b/cc/CCStreamVideoDrawQuad.h
index d0e4843284e0b2135e9afd71621f075952e9d87c..6a1b6c407dcec83137490ed52b31ac5988a6fc79 100644
--- a/cc/CCStreamVideoDrawQuad.h
+++ b/cc/CCStreamVideoDrawQuad.h
@@ -6,17 +6,16 @@
#define CCStreamVideoDrawQuad_h
#include "CCDrawQuad.h"
+#include "base/memory/scoped_ptr.h"
#include <public/WebTransformationMatrix.h>
-#include <wtf/PassOwnPtr.h>
-
namespace cc {
#pragma pack(push, 4)
class CCStreamVideoDrawQuad : public CCDrawQuad {
public:
- static PassOwnPtr<CCStreamVideoDrawQuad> create(const CCSharedQuadState*, const IntRect&, unsigned textureId, const WebKit::WebTransformationMatrix&);
+ static scoped_ptr<CCStreamVideoDrawQuad> create(const CCSharedQuadState*, const IntRect&, unsigned textureId, const WebKit::WebTransformationMatrix&);
unsigned textureId() const { return m_textureId; }
const WebKit::WebTransformationMatrix& matrix() const { return m_matrix; }
« no previous file with comments | « cc/CCSolidColorLayerImpl.cpp ('k') | cc/CCStreamVideoDrawQuad.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698