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

Unified Diff: chrome/browser/page_load_metrics/user_input_tracker.h

Issue 2662803002: Chromium doesn't compile with -Wglobal-constructors (Closed)
Patch Set: Change for request from review. Created 3 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 | « no previous file | chrome/browser/page_load_metrics/user_input_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/page_load_metrics/user_input_tracker.h
diff --git a/chrome/browser/page_load_metrics/user_input_tracker.h b/chrome/browser/page_load_metrics/user_input_tracker.h
index 5e3ce4d090ccc17d52b6311de163bc61e1d51f5d..bb3f3ee03c251758d2d50cf3f2c40ed04162822e 100644
--- a/chrome/browser/page_load_metrics/user_input_tracker.h
+++ b/chrome/browser/page_load_metrics/user_input_tracker.h
@@ -37,7 +37,7 @@ namespace page_load_metrics {
class UserInputTracker {
public:
// Only public for tests.
- static const size_t kMaxTrackedEvents;
+ static constexpr size_t kMaxTrackedEvents = 100;
static base::TimeTicks GetEventTime(const blink::WebInputEvent& event);
// Given a time, round to the nearest rate-limited offset. UserInputTracker
« no previous file with comments | « no previous file | chrome/browser/page_load_metrics/user_input_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698