Index: chrome/browser/policy/config_dir_policy_provider.cc |
diff --git a/chrome/browser/policy/config_dir_policy_provider.cc b/chrome/browser/policy/config_dir_policy_provider.cc |
index b659d6a6a1d15ecc37a432bd0e1fc7c37bb41350..8c031c9eebe0722bb4fbf70f54cda313522b82a9 100644 |
--- a/chrome/browser/policy/config_dir_policy_provider.cc |
+++ b/chrome/browser/policy/config_dir_policy_provider.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -39,7 +39,7 @@ DictionaryValue* ConfigDirPolicyProviderDelegate::Load() { |
<< config_file_iter->value() << ": " << error_msg; |
continue; |
} |
- if (!value->IsType(Value::TYPE_DICTIONARY)) { |
+ if (!value->IsDictionary()) { |
LOG(WARNING) << "Expected JSON dictionary in configuration file " |
<< config_file_iter->value(); |
continue; |