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

Unified Diff: base/trace_event/trace_config.cc

Issue 1546033002: Switch to standard integer types in base/trace_event/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « base/trace_event/trace_config.h ('k') | base/trace_event/trace_config_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/trace_event/trace_config.cc
diff --git a/base/trace_event/trace_config.cc b/base/trace_event/trace_config.cc
index 8d2c909bf8933ae144c6366d98ad67eba4c4dcf3..8e11078ebc76842b12033642da5a9f4939f79092 100644
--- a/base/trace_event/trace_config.cc
+++ b/base/trace_event/trace_config.cc
@@ -4,6 +4,8 @@
#include "base/trace_event/trace_config.h"
+#include <stddef.h>
+
#include <utility>
#include "base/json/json_reader.h"
@@ -497,7 +499,7 @@ void TraceConfig::SetMemoryDumpConfig(
continue;
}
DCHECK_GT(interval, 0);
- dump_config.periodic_interval_ms = static_cast<uint32>(interval);
+ dump_config.periodic_interval_ms = static_cast<uint32_t>(interval);
std::string level_of_detail_str;
trigger->GetString(kModeParam, &level_of_detail_str);
dump_config.level_of_detail =
« no previous file with comments | « base/trace_event/trace_config.h ('k') | base/trace_event/trace_config_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698