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

Unified Diff: cc/CCLayerImplTest.cpp

Issue 11076013: [cc] Store CCLayerImpls as scoped_ptrs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments 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
« no previous file with comments | « cc/CCLayerImpl.cpp ('k') | cc/CCLayerSorterTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCLayerImplTest.cpp
diff --git a/cc/CCLayerImplTest.cpp b/cc/CCLayerImplTest.cpp
index 79c6a3a8fb94c0df999176fd64bf3c35d574c238..5a623c3e6fd8b401518b0ac8f9b9d93ef9fb5ede 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));
« no previous file with comments | « cc/CCLayerImpl.cpp ('k') | cc/CCLayerSorterTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698