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

Unified Diff: chrome/browser/plugins/plugin_finder.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 | « chrome/browser/net/referrer.cc ('k') | chrome/browser/plugins/plugin_finder_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugins/plugin_finder.cc
diff --git a/chrome/browser/plugins/plugin_finder.cc b/chrome/browser/plugins/plugin_finder.cc
index f4cb1eb4c1b89feb608674afc86fe2d21036f697..38cf70454aa0c949f8835c436c53ae0e92ecd359 100644
--- a/chrome/browser/plugins/plugin_finder.cc
+++ b/chrome/browser/plugins/plugin_finder.cc
@@ -230,7 +230,7 @@ base::DictionaryValue* PluginFinder::LoadBuiltInPluginList() {
return nullptr;
}
- if (value->GetType() != base::Value::TYPE_DICTIONARY) {
+ if (value->GetType() != base::Value::Type::DICTIONARY) {
// JSONReader::JSON_PARSE_ERROR_COUNT is used for the case where the JSON
// value has the wrong type.
RecordBuiltInPluginListError(PluginListError::SCHEMA_ERROR);
« no previous file with comments | « chrome/browser/net/referrer.cc ('k') | chrome/browser/plugins/plugin_finder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698