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

Unified Diff: cc/CCSolidColorDrawQuad.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/CCSharedQuadState.cpp ('k') | cc/CCStreamVideoDrawQuad.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCSolidColorDrawQuad.cpp
diff --git a/cc/CCSolidColorDrawQuad.cpp b/cc/CCSolidColorDrawQuad.cpp
index 8d34aa32966f159b836d5dfd94cc6c0f6dde1c34..157acd9d3b443f231fbbb278f31900a2f0ee3664 100644
--- a/cc/CCSolidColorDrawQuad.cpp
+++ b/cc/CCSolidColorDrawQuad.cpp
@@ -10,7 +10,7 @@ namespace cc {
scoped_ptr<CCSolidColorDrawQuad> CCSolidColorDrawQuad::create(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, SkColor color)
{
- return scoped_ptr<CCSolidColorDrawQuad>(new CCSolidColorDrawQuad(sharedQuadState, quadRect, color));
+ return make_scoped_ptr(new CCSolidColorDrawQuad(sharedQuadState, quadRect, color));
}
CCSolidColorDrawQuad::CCSolidColorDrawQuad(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, SkColor color)
@@ -29,4 +29,4 @@ const CCSolidColorDrawQuad* CCSolidColorDrawQuad::materialCast(const CCDrawQuad*
return static_cast<const CCSolidColorDrawQuad*>(quad);
}
-}
+} // namespacec cc
« no previous file with comments | « cc/CCSharedQuadState.cpp ('k') | cc/CCStreamVideoDrawQuad.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698