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

Unified Diff: cc/CCLayerSorterTest.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/CCLayerImplTest.cpp ('k') | cc/CCLayerTreeHostCommon.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCLayerSorterTest.cpp
diff --git a/cc/CCLayerSorterTest.cpp b/cc/CCLayerSorterTest.cpp
index d8a36753e934e72337f859e8ff347919e8a58820..e2bb91207fc2840c328d6700691d5f058d963606 100644
--- a/cc/CCLayerSorterTest.cpp
+++ b/cc/CCLayerSorterTest.cpp
@@ -203,11 +203,11 @@ TEST(CCLayerSorterTest, verifyExistingOrderingPreservedWhenNoZDiff)
// - 3 and 4 do not have a 3d z difference, and therefore their relative ordering should be retained.
// - 3 and 4 should be re-sorted so they are in front of 1, 2, and 5.
- OwnPtr<CCLayerImpl> layer1 = CCLayerImpl::create(1);
- OwnPtr<CCLayerImpl> layer2 = CCLayerImpl::create(2);
- OwnPtr<CCLayerImpl> layer3 = CCLayerImpl::create(3);
- OwnPtr<CCLayerImpl> layer4 = CCLayerImpl::create(4);
- OwnPtr<CCLayerImpl> layer5 = CCLayerImpl::create(5);
+ scoped_ptr<CCLayerImpl> layer1 = CCLayerImpl::create(1);
+ scoped_ptr<CCLayerImpl> layer2 = CCLayerImpl::create(2);
+ scoped_ptr<CCLayerImpl> layer3 = CCLayerImpl::create(3);
+ scoped_ptr<CCLayerImpl> layer4 = CCLayerImpl::create(4);
+ scoped_ptr<CCLayerImpl> layer5 = CCLayerImpl::create(5);
WebTransformationMatrix BehindMatrix;
BehindMatrix.translate3d(0, 0, 2);
« no previous file with comments | « cc/CCLayerImplTest.cpp ('k') | cc/CCLayerTreeHostCommon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698