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

Unified Diff: cc/CCSolidColorLayerImplTest.cpp

Issue 11099040: [cc] Store CCLayerImpls as scoped_ptrs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix cc unit tests 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/CCSolidColorLayerImpl.h ('k') | cc/CCTextureLayerImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCSolidColorLayerImplTest.cpp
diff --git a/cc/CCSolidColorLayerImplTest.cpp b/cc/CCSolidColorLayerImplTest.cpp
index 87bf7cbbc600c7330c792ca44c1867ed7859cbdf..f1e091f6458614fb3ad46e4b6867f6df1cf1881f 100644
--- a/cc/CCSolidColorLayerImplTest.cpp
+++ b/cc/CCSolidColorLayerImplTest.cpp
@@ -27,7 +27,7 @@ TEST(CCSolidColorLayerImplTest, verifyTilingCompleteAndNoOverlap)
IntSize layerSize = IntSize(800, 600);
IntRect visibleContentRect = IntRect(IntPoint(), layerSize);
- OwnPtr<CCSolidColorLayerImpl> layer = CCSolidColorLayerImpl::create(1);
+ scoped_ptr<CCSolidColorLayerImpl> layer = CCSolidColorLayerImpl::create(1);
layer->setVisibleContentRect(visibleContentRect);
layer->setBounds(layerSize);
layer->setContentBounds(layerSize);
@@ -50,7 +50,7 @@ TEST(CCSolidColorLayerImplTest, verifyCorrectBackgroundColorInQuad)
IntSize layerSize = IntSize(100, 100);
IntRect visibleContentRect = IntRect(IntPoint(), layerSize);
- OwnPtr<CCSolidColorLayerImpl> layer = CCSolidColorLayerImpl::create(1);
+ scoped_ptr<CCSolidColorLayerImpl> layer = CCSolidColorLayerImpl::create(1);
layer->setVisibleContentRect(visibleContentRect);
layer->setBounds(layerSize);
layer->setContentBounds(layerSize);
@@ -75,7 +75,7 @@ TEST(CCSolidColorLayerImplTest, verifyCorrectOpacityInQuad)
IntSize layerSize = IntSize(100, 100);
IntRect visibleContentRect = IntRect(IntPoint(), layerSize);
- OwnPtr<CCSolidColorLayerImpl> layer = CCSolidColorLayerImpl::create(1);
+ scoped_ptr<CCSolidColorLayerImpl> layer = CCSolidColorLayerImpl::create(1);
layer->setVisibleContentRect(visibleContentRect);
layer->setBounds(layerSize);
layer->setContentBounds(layerSize);
« no previous file with comments | « cc/CCSolidColorLayerImpl.h ('k') | cc/CCTextureLayerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698