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

Unified Diff: cc/CCDebugBorderDrawQuad.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/CCDebugBorderDrawQuad.h ('k') | cc/CCDelegatedRendererLayerImpl.cpp » ('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 95c106d3e39c3925678e8f9e5509ad85c1ad26a0..16912a934b03dec9601990dd6f1232afc297c7b6 100644
--- a/cc/CCDebugBorderDrawQuad.cpp
+++ b/cc/CCDebugBorderDrawQuad.cpp
@@ -8,9 +8,9 @@
namespace cc {
-PassOwnPtr<CCDebugBorderDrawQuad> CCDebugBorderDrawQuad::create(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, SkColor color, int width)
+scoped_ptr<CCDebugBorderDrawQuad> CCDebugBorderDrawQuad::create(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, SkColor color, int width)
{
- return adoptPtr(new CCDebugBorderDrawQuad(sharedQuadState, quadRect, color, width));
+ return scoped_ptr<CCDebugBorderDrawQuad>(new CCDebugBorderDrawQuad(sharedQuadState, quadRect, color, width));
}
CCDebugBorderDrawQuad::CCDebugBorderDrawQuad(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, SkColor color, int width)
« no previous file with comments | « cc/CCDebugBorderDrawQuad.h ('k') | cc/CCDelegatedRendererLayerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698