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

Unified Diff: cc/test/CCRenderPassTestCommon.h

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/CCYUVVideoDrawQuad.cpp ('k') | cc/test/MockCCQuadCuller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/CCRenderPassTestCommon.h
diff --git a/cc/test/CCRenderPassTestCommon.h b/cc/test/CCRenderPassTestCommon.h
index 8bb98394bf2017a13bf68e3e4236372d5bc30331..9f17781e257c3259c8eafe97b67e8fa57e0fa819 100644
--- a/cc/test/CCRenderPassTestCommon.h
+++ b/cc/test/CCRenderPassTestCommon.h
@@ -6,7 +6,6 @@
#define CCRenderPassTestCommon_h
#include "CCRenderPass.h"
-#include <wtf/PassOwnPtr.h>
namespace WebKitTests {
@@ -15,8 +14,8 @@ public:
cc::CCQuadList& quadList() { return m_quadList; }
cc::CCSharedQuadStateList& sharedQuadStateList() { return m_sharedQuadStateList; }
- void appendQuad(PassOwnPtr<cc::CCDrawQuad> quad) { m_quadList.append(quad); }
- void appendSharedQuadState(PassOwnPtr<cc::CCSharedQuadState> state) { m_sharedQuadStateList.append(state); }
+ void appendQuad(scoped_ptr<cc::CCDrawQuad> quad) { m_quadList.append(quad.Pass()); }
+ void appendSharedQuadState(scoped_ptr<cc::CCSharedQuadState> state) { m_sharedQuadStateList.append(state.Pass()); }
};
} //namespace WebKitTests
« no previous file with comments | « cc/CCYUVVideoDrawQuad.cpp ('k') | cc/test/MockCCQuadCuller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698