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

Unified Diff: components/tracing/browser/trace_config_file.cc

Issue 2539363004: Make base::Value::TYPE a scoped enum. (Closed)
Patch Set: Rebase Created 4 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
Index: components/tracing/browser/trace_config_file.cc
diff --git a/components/tracing/browser/trace_config_file.cc b/components/tracing/browser/trace_config_file.cc
index 62220d6e678237e637b48dba1c0c3347daa2becc..97f8a16810a8ad4e7b33416507acbffde1693d78 100644
--- a/components/tracing/browser/trace_config_file.cc
+++ b/components/tracing/browser/trace_config_file.cc
@@ -98,7 +98,7 @@ TraceConfigFile::~TraceConfigFile() {
bool TraceConfigFile::ParseTraceConfigFileContent(const std::string& content) {
std::unique_ptr<base::Value> value(base::JSONReader::Read(content));
- if (!value || !value->IsType(base::Value::TYPE_DICTIONARY))
+ if (!value || !value->IsType(base::Value::Type::DICTIONARY))
return false;
std::unique_ptr<base::DictionaryValue> dict(

Powered by Google App Engine
This is Rietveld 408576698