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

Unified Diff: cc/CCStreamVideoDrawQuad.cpp

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/CCStreamVideoDrawQuad.h ('k') | cc/CCTextureDrawQuad.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCStreamVideoDrawQuad.cpp
diff --git a/cc/CCStreamVideoDrawQuad.cpp b/cc/CCStreamVideoDrawQuad.cpp
index 4fcae062ebc0b05707bada6e53ddb18556b840bf..83d1e3e537db7a3f2020dc30261d53752a490cfb 100644
--- a/cc/CCStreamVideoDrawQuad.cpp
+++ b/cc/CCStreamVideoDrawQuad.cpp
@@ -8,9 +8,9 @@
namespace cc {
-PassOwnPtr<CCStreamVideoDrawQuad> CCStreamVideoDrawQuad::create(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, unsigned textureId, const WebKit::WebTransformationMatrix& matrix)
+scoped_ptr<CCStreamVideoDrawQuad> CCStreamVideoDrawQuad::create(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, unsigned textureId, const WebKit::WebTransformationMatrix& matrix)
{
- return adoptPtr(new CCStreamVideoDrawQuad(sharedQuadState, quadRect, textureId, matrix));
+ return scoped_ptr<CCStreamVideoDrawQuad>(new CCStreamVideoDrawQuad(sharedQuadState, quadRect, textureId, matrix));
}
CCStreamVideoDrawQuad::CCStreamVideoDrawQuad(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, unsigned textureId, const WebKit::WebTransformationMatrix& matrix)
« no previous file with comments | « cc/CCStreamVideoDrawQuad.h ('k') | cc/CCTextureDrawQuad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698