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

Unified Diff: cc/debug/frame_timing_tracker.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/animation/layer_animation_controller.h ('k') | cc/layers/delegated_frame_resource_collection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/frame_timing_tracker.h
diff --git a/cc/debug/frame_timing_tracker.h b/cc/debug/frame_timing_tracker.h
index 5341b6ada84f4d81d0a464e2f25de0cac4d15ce2..117a1f9c9d97d3ff016875f0f18279b6b3d8dc37 100644
--- a/cc/debug/frame_timing_tracker.h
+++ b/cc/debug/frame_timing_tracker.h
@@ -7,10 +7,10 @@
#include <stdint.h>
+#include <unordered_map>
#include <utility>
#include <vector>
-#include "base/containers/hash_tables.h"
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
@@ -35,7 +35,7 @@ class CC_EXPORT FrameTimingTracker {
};
using CompositeTimingSet =
- base::hash_map<int64_t, std::vector<CompositeTimingEvent>>;
+ std::unordered_map<int64_t, std::vector<CompositeTimingEvent>>;
struct CC_EXPORT MainFrameTimingEvent {
MainFrameTimingEvent(int frame_id,
@@ -49,7 +49,7 @@ class CC_EXPORT FrameTimingTracker {
};
using MainFrameTimingSet =
- base::hash_map<int64_t, std::vector<MainFrameTimingEvent>>;
+ std::unordered_map<int64_t, std::vector<MainFrameTimingEvent>>;
static scoped_ptr<FrameTimingTracker> Create(
LayerTreeHostImpl* layer_tree_host_impl);
« no previous file with comments | « cc/animation/layer_animation_controller.h ('k') | cc/layers/delegated_frame_resource_collection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698