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

Unified Diff: cc/test/fake_ui_resource_layer_tree_host_impl.h

Issue 1587283002: Switch cc to std::unordered_*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@unordered-map
Patch Set: Fix MSVC build issue Created 4 years, 11 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/test/animation_timelines_test_common.cc ('k') | cc/test/ordered_texture_map.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_ui_resource_layer_tree_host_impl.h
diff --git a/cc/test/fake_ui_resource_layer_tree_host_impl.h b/cc/test/fake_ui_resource_layer_tree_host_impl.h
index 7db2ff0cbf393a26b2cc4710ca78345be7eac2e0..be58cbd5704cc29fbcca165da7628504f8a1b409 100644
--- a/cc/test/fake_ui_resource_layer_tree_host_impl.h
+++ b/cc/test/fake_ui_resource_layer_tree_host_impl.h
@@ -5,7 +5,8 @@
#ifndef CC_TEST_FAKE_UI_RESOURCE_LAYER_TREE_HOST_IMPL_H_
#define CC_TEST_FAKE_UI_RESOURCE_LAYER_TREE_HOST_IMPL_H_
-#include "base/containers/hash_tables.h"
+#include <unordered_map>
+
#include "cc/test/fake_layer_tree_host_impl.h"
namespace cc {
@@ -29,8 +30,8 @@ class FakeUIResourceLayerTreeHostImpl : public FakeLayerTreeHostImpl {
bool IsUIResourceOpaque(UIResourceId uid) const override;
private:
- typedef base::hash_map<UIResourceId, LayerTreeHostImpl::UIResourceData>
- UIResourceMap;
+ using UIResourceMap =
+ std::unordered_map<UIResourceId, LayerTreeHostImpl::UIResourceData>;
UIResourceMap fake_ui_resource_map_;
};
« no previous file with comments | « cc/test/animation_timelines_test_common.cc ('k') | cc/test/ordered_texture_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698