Index: chrome/browser/plugin_prefs.cc |
diff --git a/chrome/browser/plugin_prefs.cc b/chrome/browser/plugin_prefs.cc |
index 2a1e3d0db8f7cc6182b4097623847fea157b91ac..339d52d786d427886d8420f131f3c949152072f4 100644 |
--- a/chrome/browser/plugin_prefs.cc |
+++ b/chrome/browser/plugin_prefs.cc |
@@ -217,7 +217,7 @@ void PluginPrefs::SetProfile(Profile* profile) { |
for (ListValue::const_iterator it = saved_plugins_list->begin(); |
it != saved_plugins_list->end(); |
++it) { |
- if (!(*it)->IsType(Value::TYPE_DICTIONARY)) { |
+ if (!(*it)->IsDictionary()) { |
LOG(WARNING) << "Invalid entry in " << prefs::kPluginsPluginsList; |
continue; // Oops, don't know what to do with this item. |
} |