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 |