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

Unified Diff: cc/CCLayerTreeHostCommon.h

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/CCLayerSorterTest.cpp ('k') | cc/CCLayerTreeHostCommonTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCLayerTreeHostCommon.h
diff --git a/cc/CCLayerTreeHostCommon.h b/cc/CCLayerTreeHostCommon.h
index eda7daf9ddd9ebbc72a08d950db6764abbde2c75..dad77203bfdcac0d43506d1fc6657ecf8560c477 100644
--- a/cc/CCLayerTreeHostCommon.h
+++ b/cc/CCLayerTreeHostCommon.h
@@ -6,7 +6,7 @@
#define CCLayerTreeHostCommon_h
#include "base/memory/ref_counted.h"
-#include "cc/own_ptr_vector.h"
+#include "cc/scoped_ptr_vector.h"
#include "IntRect.h"
#include "IntSize.h"
#include <public/WebTransformationMatrix.h>
@@ -42,7 +42,7 @@ public:
return children[index].get();
}
- static CCLayerImpl* getChildAsRawPtr(const OwnPtrVector<CCLayerImpl>& children, size_t index)
+ static CCLayerImpl* getChildAsRawPtr(const ScopedPtrVector<CCLayerImpl>& children, size_t index)
{
return children[index];
}
« no previous file with comments | « cc/CCLayerSorterTest.cpp ('k') | cc/CCLayerTreeHostCommonTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698