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

Unified Diff: chromeos/network/onc/onc_merger.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
« no previous file with comments | « chromeos/network/onc/onc_mapper.cc ('k') | chromeos/network/onc/onc_signature.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/onc/onc_merger.cc
diff --git a/chromeos/network/onc/onc_merger.cc b/chromeos/network/onc/onc_merger.cc
index f71ded34da719dd2d1d3eee6a8bf4420c5ec11e9..df8fd5bd52e65f9be47e7c8cec8a62682455f9c1 100644
--- a/chromeos/network/onc/onc_merger.cc
+++ b/chromeos/network/onc/onc_merger.cc
@@ -114,7 +114,7 @@ class MergeListOfDictionaries {
continue;
std::unique_ptr<base::Value> merged_value;
- if (field.value().IsType(base::Value::TYPE_DICTIONARY)) {
+ if (field.value().IsType(base::Value::Type::DICTIONARY)) {
DictPtrs nested_dicts;
for (DictPtrs::const_iterator it_inner = dicts.begin();
it_inner != dicts.end(); ++it_inner) {
« no previous file with comments | « chromeos/network/onc/onc_mapper.cc ('k') | chromeos/network/onc/onc_signature.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698