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

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

Powered by Google App Engine
This is Rietveld 408576698