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

Unified Diff: cc/CCSolidColorDrawQuad.cpp

Issue 10989024: cc: Remove OwnPtr usage from CCRenderPass and CCDrawQuad class hierarchy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 3 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.h ('k') | cc/CCSolidColorLayerImpl.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 ef49d8b0b3dacb060f185db0cf17b19937770142..8d34aa32966f159b836d5dfd94cc6c0f6dde1c34 100644
--- a/cc/CCSolidColorDrawQuad.cpp
+++ b/cc/CCSolidColorDrawQuad.cpp
@@ -8,9 +8,9 @@
namespace cc {
-PassOwnPtr<CCSolidColorDrawQuad> CCSolidColorDrawQuad::create(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, SkColor color)
+scoped_ptr<CCSolidColorDrawQuad> CCSolidColorDrawQuad::create(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, SkColor color)
{
- return adoptPtr(new CCSolidColorDrawQuad(sharedQuadState, quadRect, color));
+ return scoped_ptr<CCSolidColorDrawQuad>(new CCSolidColorDrawQuad(sharedQuadState, quadRect, color));
}
CCSolidColorDrawQuad::CCSolidColorDrawQuad(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, SkColor color)
« no previous file with comments | « cc/CCSolidColorDrawQuad.h ('k') | cc/CCSolidColorLayerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698