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

Unified Diff: cc/quads/list_container.h

Issue 1123983002: cc: Use a ListContainer for DisplayItemList to reduce allocations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: displaylistcontainer: fixdcheck Created 5 years, 7 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/layers/picture_image_layer_unittest.cc ('k') | cc/quads/list_container.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/list_container.h
diff --git a/cc/quads/list_container.h b/cc/quads/list_container.h
index 38a34b87d33e612a80458714ce6ed815c42afdc1..8abc33d62eb6bfa0139f4e7a3c536fb243060f40 100644
--- a/cc/quads/list_container.h
+++ b/cc/quads/list_container.h
@@ -10,8 +10,9 @@
#include "cc/base/cc_export.h"
namespace cc {
-class SharedQuadState;
+class DisplayItem;
class DrawQuad;
+class SharedQuadState;
// This class is a container type that handles allocating contiguous memory for
// new elements and traversing through elements with either iterator or reverse
@@ -234,6 +235,7 @@ class CC_EXPORT ListContainer {
#if !defined(COMPILER_MSVC)
extern template class ListContainer<SharedQuadState>;
extern template class ListContainer<DrawQuad>;
+extern template class ListContainer<DisplayItem>;
#endif
} // namespace cc
« no previous file with comments | « cc/layers/picture_image_layer_unittest.cc ('k') | cc/quads/list_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698