| Index: ui/latency/latency_info.h
|
| diff --git a/ui/latency/latency_info.h b/ui/latency/latency_info.h
|
| index 600f8745cd20e61cd800707c3a89d9a17b6e9e08..cf0de3e07d1cd1f8cea71b3687af34f9616bcf6a 100644
|
| --- a/ui/latency/latency_info.h
|
| +++ b/ui/latency/latency_info.h
|
| @@ -130,16 +130,12 @@ class LatencyInfo {
|
| base::TimeTicks last_event_time;
|
| };
|
|
|
| - // Empirically determined constant based on a typical scroll sequence.
|
| - enum { kTypicalMaxComponentsPerLatencyInfo = 10 };
|
| -
|
| enum : size_t { kMaxInputCoordinates = 2 };
|
|
|
| // Map a Latency Component (with a component-specific int64_t id) to a
|
| // component info.
|
| - typedef base::SmallMap<
|
| - std::map<std::pair<LatencyComponentType, int64_t>, LatencyComponent>,
|
| - kTypicalMaxComponentsPerLatencyInfo> LatencyMap;
|
| + using LatencyMap = base::flat_map<std::pair<LatencyComponentType, int64_t>,
|
| + LatencyComponent>;
|
|
|
| LatencyInfo();
|
| LatencyInfo(const LatencyInfo& other);
|
|
|