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

Unified Diff: cc/CCLayerSorterTest.cpp

Issue 11083003: Revert 160631 - [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
« 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
===================================================================
--- cc/CCLayerSorterTest.cpp (revision 160631)
+++ cc/CCLayerSorterTest.cpp (working copy)
@@ -203,11 +203,11 @@
// - 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.
- 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);
+ 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);
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