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

Unified Diff: cc/CCStreamVideoDrawQuad.cpp

Issue 11047032: cc: Use syntax sugar 'make_scoped_ptr' in more places. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « cc/CCSolidColorDrawQuad.cpp ('k') | cc/CCTextureDrawQuad.cpp » ('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 83d1e3e537db7a3f2020dc30261d53752a490cfb..e92d98a390fe137e8b32ae271029f772ffc00236 100644
--- a/cc/CCStreamVideoDrawQuad.cpp
+++ b/cc/CCStreamVideoDrawQuad.cpp
@@ -10,7 +10,7 @@ namespace cc {
scoped_ptr<CCStreamVideoDrawQuad> CCStreamVideoDrawQuad::create(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, unsigned textureId, const WebKit::WebTransformationMatrix& matrix)
{
- return scoped_ptr<CCStreamVideoDrawQuad>(new CCStreamVideoDrawQuad(sharedQuadState, quadRect, textureId, matrix));
+ return make_scoped_ptr(new CCStreamVideoDrawQuad(sharedQuadState, quadRect, textureId, matrix));
}
CCStreamVideoDrawQuad::CCStreamVideoDrawQuad(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, unsigned textureId, const WebKit::WebTransformationMatrix& matrix)
@@ -26,4 +26,4 @@ const CCStreamVideoDrawQuad* CCStreamVideoDrawQuad::materialCast(const CCDrawQua
return static_cast<const CCStreamVideoDrawQuad*>(quad);
}
-}
+} // namespace cc
« no previous file with comments | « cc/CCSolidColorDrawQuad.cpp ('k') | cc/CCTextureDrawQuad.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698