Index: chrome/browser/component_updater/component_unpacker.cc |
diff --git a/chrome/browser/component_updater/component_unpacker.cc b/chrome/browser/component_updater/component_unpacker.cc |
index 8453df25e9f6224e4871610e8b82a3f211daa2a6..c148831afb6c8ed00b251a56192e12e0856564de 100644 |
--- a/chrome/browser/component_updater/component_unpacker.cc |
+++ b/chrome/browser/component_updater/component_unpacker.cc |
@@ -129,7 +129,7 @@ base::DictionaryValue* ReadManifest(const FilePath& unpack_path) { |
scoped_ptr<base::Value> root(serializer.Deserialize(NULL, &error)); |
if (!root.get()) |
return NULL; |
- if (!root->IsType(base::Value::TYPE_DICTIONARY)) |
+ if (!root->IsDictionary()) |
return NULL; |
return static_cast<base::DictionaryValue*>(root.release()); |
} |