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

Unified Diff: components/update_client/component_patcher.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_patcher.cc
diff --git a/components/update_client/component_patcher.cc b/components/update_client/component_patcher.cc
index cb18042908e573fe2749b5c5efe342085491554a..afafd8744e936df109f57771a94dc49d90f1609b 100644
--- a/components/update_client/component_patcher.cc
+++ b/components/update_client/component_patcher.cc
@@ -34,7 +34,7 @@ base::ListValue* ReadCommands(const base::FilePath& unpack_path) {
JSONFileValueDeserializer deserializer(commands);
std::unique_ptr<base::Value> root = deserializer.Deserialize(NULL, NULL);
- return (root.get() && root->IsType(base::Value::TYPE_LIST))
+ return (root.get() && root->IsType(base::Value::Type::LIST))
? static_cast<base::ListValue*>(root.release())
: NULL;
}
« no previous file with comments | « components/translate/core/browser/translate_language_list.cc ('k') | components/update_client/component_unpacker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698