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

Side by Side Diff: cc/trees/layer_tree_impl.h

Issue 16667019: Rename base/hash_tables to base/containers/hash_tables. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | cc/trees/tree_synchronizer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_TREES_LAYER_TREE_IMPL_H_ 5 #ifndef CC_TREES_LAYER_TREE_IMPL_H_
6 #define CC_TREES_LAYER_TREE_IMPL_H_ 6 #define CC_TREES_LAYER_TREE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/hash_tables.h" 11 #include "base/containers/hash_tables.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "cc/layers/layer_impl.h" 13 #include "cc/layers/layer_impl.h"
14 #include "ui/base/latency_info.h" 14 #include "ui/base/latency_info.h"
15 15
16 #if defined(COMPILER_GCC) 16 #if defined(COMPILER_GCC)
17 namespace BASE_HASH_NAMESPACE { 17 namespace BASE_HASH_NAMESPACE {
18 template<> 18 template<>
19 struct hash<cc::LayerImpl*> { 19 struct hash<cc::LayerImpl*> {
20 size_t operator()(cc::LayerImpl* ptr) const { 20 size_t operator()(cc::LayerImpl* ptr) const {
21 return hash<size_t>()(reinterpret_cast<size_t>(ptr)); 21 return hash<size_t>()(reinterpret_cast<size_t>(ptr));
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 bool needs_full_tree_sync_; 234 bool needs_full_tree_sync_;
235 235
236 ui::LatencyInfo latency_info_; 236 ui::LatencyInfo latency_info_;
237 237
238 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 238 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
239 }; 239 };
240 240
241 } // namespace cc 241 } // namespace cc
242 242
243 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 243 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | cc/trees/tree_synchronizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698