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

Unified Diff: cc/layers/layer_lists.h

Issue 1437413002: cc: Remove ScopedPtrVector and cc::remove_if. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: just the vector Created 5 years, 1 month 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/layers/layer_lists.h
diff --git a/cc/layers/layer_lists.h b/cc/layers/layer_lists.h
index 870785dad93e5a6d949774570580ea270304e582..264d219a26fa86c7e0c370e0c6b8450ecac87531 100644
--- a/cc/layers/layer_lists.h
+++ b/cc/layers/layer_lists.h
@@ -8,15 +8,15 @@
#include <vector>
#include "base/memory/ref_counted.h"
+#include "base/memory/scoped_ptr.h"
#include "cc/base/cc_export.h"
-#include "cc/base/scoped_ptr_vector.h"
namespace cc {
class Layer;
class LayerImpl;
typedef std::vector<scoped_refptr<Layer>> LayerList;
-typedef ScopedPtrVector<LayerImpl> OwnedLayerImplList;
+typedef std::vector<scoped_ptr<LayerImpl>> OwnedLayerImplList;
typedef std::vector<LayerImpl*> LayerImplList;
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698