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

Unified Diff: cc/LayerChromiumTest.cpp

Issue 11076013: [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/LayerChromiumTest.cpp
diff --git a/cc/LayerChromiumTest.cpp b/cc/LayerChromiumTest.cpp
index 1c65ada5b448416ead45d730546d0ff57559054b..fa06485772c68e3ad497ce0c52b5c647efc13e42 100644
--- a/cc/LayerChromiumTest.cpp
+++ b/cc/LayerChromiumTest.cpp
@@ -521,7 +521,7 @@ TEST_F(LayerChromiumTest, verifyPushPropertiesAccumulatesUpdateRect)
DebugScopedSetImplThread setImplThread;
scoped_refptr<LayerChromium> testLayer = LayerChromium::create();
- OwnPtr<CCLayerImpl> implLayer = CCLayerImpl::create(1);
+ scoped_ptr<CCLayerImpl> implLayer = CCLayerImpl::create(1);
testLayer->setNeedsDisplayRect(FloatRect(FloatPoint::zero(), FloatSize(5, 5)));
testLayer->pushPropertiesTo(implLayer.get());

Powered by Google App Engine
This is Rietveld 408576698