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

Unified Diff: cc/CCLayerImplTest.cpp

Issue 11099040: [cc] Store CCLayerImpls as scoped_ptrs (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
Index: cc/CCLayerImplTest.cpp
diff --git a/cc/CCLayerImplTest.cpp b/cc/CCLayerImplTest.cpp
index fc9686d9428f78a798159787c6eaff92e2b4e3a1..acaac9b6c0ca76ffbdc6463031aca7c2a6ef8b94 100644
--- a/cc/CCLayerImplTest.cpp
+++ b/cc/CCLayerImplTest.cpp
@@ -60,7 +60,7 @@ TEST(CCLayerImplTest, verifyLayerChangesAreTrackedProperly)
DebugScopedSetImplThread setImplThread;
// Create a simple CCLayerImpl tree:
- OwnPtr<CCLayerImpl> root = CCLayerImpl::create(1);
+ scoped_ptr<CCLayerImpl> root = CCLayerImpl::create(1);
root->addChild(CCLayerImpl::create(2));
CCLayerImpl* child = root->children()[0];
child->addChild(CCLayerImpl::create(3));
« cc/CCLayerImpl.h ('K') | « cc/CCLayerImpl.cpp ('k') | cc/CCLayerSorterTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698