| Index: content/browser/gpu/gpu_blacklist.cc
|
| diff --git a/content/browser/gpu/gpu_blacklist.cc b/content/browser/gpu/gpu_blacklist.cc
|
| index 255ab4bea3f3af09811e7f1e6fc8d82367eba630..e4a6569881e7952f6fbe0e5cfaca4041746a1832 100644
|
| --- a/content/browser/gpu/gpu_blacklist.cc
|
| +++ b/content/browser/gpu/gpu_blacklist.cc
|
| @@ -599,7 +599,7 @@ bool GpuBlacklist::LoadGpuBlacklist(const std::string& json_context,
|
| bool current_os_only) {
|
| scoped_ptr<Value> root;
|
| root.reset(base::JSONReader::Read(json_context, false));
|
| - if (root.get() == NULL || !root->IsType(Value::TYPE_DICTIONARY))
|
| + if (root.get() == NULL || !root->IsDictionary())
|
| return false;
|
|
|
| DictionaryValue* root_dictionary = static_cast<DictionaryValue*>(root.get());
|
|
|