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

Unified Diff: chrome/browser/component_updater/pnacl_component_installer.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: chrome/browser/component_updater/pnacl_component_installer.cc
diff --git a/chrome/browser/component_updater/pnacl_component_installer.cc b/chrome/browser/component_updater/pnacl_component_installer.cc
index 8e46bbd0a5da875a2ea59922cd96b5966b62b206..f3b747b42615421a323f39ba5920a63ab4102757 100644
--- a/chrome/browser/component_updater/pnacl_component_installer.cc
+++ b/chrome/browser/component_updater/pnacl_component_installer.cc
@@ -133,7 +133,7 @@ base::DictionaryValue* ReadJSONManifest(const base::FilePath& manifest_path) {
std::unique_ptr<base::Value> root = deserializer.Deserialize(NULL, &error);
if (!root.get())
return NULL;
- if (!root->IsType(base::Value::TYPE_DICTIONARY))
+ if (!root->IsType(base::Value::Type::DICTIONARY))
return NULL;
return static_cast<base::DictionaryValue*>(root.release());
}

Powered by Google App Engine
This is Rietveld 408576698