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

Unified Diff: components/update_client/component_unpacker.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/update_client/component_unpacker.cc
diff --git a/components/update_client/component_unpacker.cc b/components/update_client/component_unpacker.cc
index 24e9b482c88c96be2a04a1cee3306cee8630c419..6dd555cc2ea988f8375104a40279af9a2cf5639e 100644
--- a/components/update_client/component_unpacker.cc
+++ b/components/update_client/component_unpacker.cc
@@ -49,7 +49,7 @@ std::unique_ptr<base::DictionaryValue> ReadManifest(
std::unique_ptr<base::Value> root = deserializer.Deserialize(NULL, &error);
if (!root.get())
return std::unique_ptr<base::DictionaryValue>();
- if (!root->IsType(base::Value::TYPE_DICTIONARY))
+ if (!root->IsType(base::Value::Type::DICTIONARY))
return std::unique_ptr<base::DictionaryValue>();
return std::unique_ptr<base::DictionaryValue>(
static_cast<base::DictionaryValue*>(root.release()));
« no previous file with comments | « components/update_client/component_patcher.cc ('k') | components/user_prefs/tracked/pref_hash_calculator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698