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

Unified Diff: cc/base/list_container.h

Issue 1159573002: cc: Move cc/quads/list_container.* files to cc/base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | cc/base/list_container.cc » ('j') | cc/playback/display_item_list.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/base/list_container.h
diff --git a/cc/quads/list_container.h b/cc/base/list_container.h
similarity index 96%
rename from cc/quads/list_container.h
rename to cc/base/list_container.h
index 8abc33d62eb6bfa0139f4e7a3c536fb243060f40..b9f131fced08fe73df24e8b0c042e83401b37c80 100644
--- a/cc/quads/list_container.h
+++ b/cc/base/list_container.h
@@ -2,17 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CC_QUADS_LIST_CONTAINER_H_
-#define CC_QUADS_LIST_CONTAINER_H_
+#ifndef CC_BASE_LIST_CONTAINER_H_
+#define CC_BASE_LIST_CONTAINER_H_
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "cc/base/cc_export.h"
namespace cc {
-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
@@ -232,11 +229,6 @@ class CC_EXPORT ListContainer {
DISALLOW_COPY_AND_ASSIGN(ListContainer);
};
-#if !defined(COMPILER_MSVC)
-extern template class ListContainer<SharedQuadState>;
-extern template class ListContainer<DrawQuad>;
-extern template class ListContainer<DisplayItem>;
-#endif
} // namespace cc
-#endif // CC_QUADS_LIST_CONTAINER_H_
+#endif // CC_BASE_LIST_CONTAINER_H_
« no previous file with comments | « no previous file | cc/base/list_container.cc » ('j') | cc/playback/display_item_list.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698