Index: chrome/browser/extensions/extension_proxy_api.cc |
diff --git a/chrome/browser/extensions/extension_proxy_api.cc b/chrome/browser/extensions/extension_proxy_api.cc |
index b7b2c19dac60a7edb9f4cd5f5467bda5e45fcc2f..d61a4fe3e4e10d69ffedaa02900b49e20b22ab5f 100644 |
--- a/chrome/browser/extensions/extension_proxy_api.cc |
+++ b/chrome/browser/extensions/extension_proxy_api.cc |
@@ -98,7 +98,7 @@ Value* ProxyPrefTransformer::ExtensionToBrowserPref(const Value* extension_pref, |
// When ExtensionToBrowserPref is called, the format of |extension_pref| |
// has been verified already by the extension API to match the schema |
// defined in chrome/common/extensions/api/extension_api.json. |
- CHECK(extension_pref->IsType(Value::TYPE_DICTIONARY)); |
+ CHECK(extension_pref->IsDictionary()); |
const DictionaryValue* config = |
static_cast<const DictionaryValue*>(extension_pref); |
@@ -134,7 +134,7 @@ Value* ProxyPrefTransformer::ExtensionToBrowserPref(const Value* extension_pref, |
} |
Value* ProxyPrefTransformer::BrowserToExtensionPref(const Value* browser_pref) { |
- CHECK(browser_pref->IsType(Value::TYPE_DICTIONARY)); |
+ CHECK(browser_pref->IsDictionary()); |
// This is a dictionary wrapper that exposes the proxy configuration stored in |
// the browser preferences. |