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

Unified Diff: components/prefs/pref_member.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 | « components/prefs/overlay_user_pref_store_unittest.cc ('k') | components/prefs/pref_registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/prefs/pref_member.cc
diff --git a/components/prefs/pref_member.cc b/components/prefs/pref_member.cc
index 53c56d5fc448a2d38c334355fffec1fefb4b7dc6..8ed13ee5516769d8d6bae89089c9ab9115a4667f 100644
--- a/components/prefs/pref_member.cc
+++ b/components/prefs/pref_member.cc
@@ -131,7 +131,7 @@ void PrefMemberBase::Internal::MoveToThread(
bool PrefMemberVectorStringUpdate(const base::Value& value,
std::vector<std::string>* string_vector) {
- if (!value.IsType(base::Value::TYPE_LIST))
+ if (!value.IsType(base::Value::Type::LIST))
return false;
const base::ListValue* list = static_cast<const base::ListValue*>(&value);
« no previous file with comments | « components/prefs/overlay_user_pref_store_unittest.cc ('k') | components/prefs/pref_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698