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

Unified Diff: cc/CCDebugBorderDrawQuad.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/CCDamageTracker.cpp ('k') | cc/CCDirectRenderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCDebugBorderDrawQuad.cpp
diff --git a/cc/CCDebugBorderDrawQuad.cpp b/cc/CCDebugBorderDrawQuad.cpp
index 16912a934b03dec9601990dd6f1232afc297c7b6..aabf9e2928a094601189e653b3102a05963af31a 100644
--- a/cc/CCDebugBorderDrawQuad.cpp
+++ b/cc/CCDebugBorderDrawQuad.cpp
@@ -10,7 +10,7 @@ namespace cc {
scoped_ptr<CCDebugBorderDrawQuad> CCDebugBorderDrawQuad::create(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, SkColor color, int width)
{
- return scoped_ptr<CCDebugBorderDrawQuad>(new CCDebugBorderDrawQuad(sharedQuadState, quadRect, color, width));
+ return make_scoped_ptr(new CCDebugBorderDrawQuad(sharedQuadState, quadRect, color, width));
}
CCDebugBorderDrawQuad::CCDebugBorderDrawQuad(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, SkColor color, int width)
@@ -29,4 +29,4 @@ const CCDebugBorderDrawQuad* CCDebugBorderDrawQuad::materialCast(const CCDrawQua
return static_cast<const CCDebugBorderDrawQuad*>(quad);
}
-}
+} // namespace cc
« no previous file with comments | « cc/CCDamageTracker.cpp ('k') | cc/CCDirectRenderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698