| Index: chrome/browser/themes/browser_theme_pack_unittest.cc
|
| diff --git a/chrome/browser/themes/browser_theme_pack_unittest.cc b/chrome/browser/themes/browser_theme_pack_unittest.cc
|
| index 28bef94be1796810f15bca79a165386a706f01c4..7da8057579e8d6770adddfc9808b2334324cd563 100644
|
| --- a/chrome/browser/themes/browser_theme_pack_unittest.cc
|
| +++ b/chrome/browser/themes/browser_theme_pack_unittest.cc
|
| @@ -78,7 +78,7 @@ class BrowserThemePackTest : public ::testing::Test {
|
|
|
| void LoadColorJSON(const std::string& json) {
|
| scoped_ptr<Value> value(base::JSONReader::Read(json, false));
|
| - ASSERT_TRUE(value->IsType(Value::TYPE_DICTIONARY));
|
| + ASSERT_TRUE(value->IsDictionary());
|
| LoadColorDictionary(static_cast<DictionaryValue*>(value.get()));
|
| }
|
|
|
| @@ -88,7 +88,7 @@ class BrowserThemePackTest : public ::testing::Test {
|
|
|
| void LoadTintJSON(const std::string& json) {
|
| scoped_ptr<Value> value(base::JSONReader::Read(json, false));
|
| - ASSERT_TRUE(value->IsType(Value::TYPE_DICTIONARY));
|
| + ASSERT_TRUE(value->IsDictionary());
|
| LoadTintDictionary(static_cast<DictionaryValue*>(value.get()));
|
| }
|
|
|
| @@ -98,7 +98,7 @@ class BrowserThemePackTest : public ::testing::Test {
|
|
|
| void LoadDisplayPropertiesJSON(const std::string& json) {
|
| scoped_ptr<Value> value(base::JSONReader::Read(json, false));
|
| - ASSERT_TRUE(value->IsType(Value::TYPE_DICTIONARY));
|
| + ASSERT_TRUE(value->IsDictionary());
|
| LoadDisplayPropertiesDictionary(static_cast<DictionaryValue*>(value.get()));
|
| }
|
|
|
| @@ -109,7 +109,7 @@ class BrowserThemePackTest : public ::testing::Test {
|
| void ParseImageNamesJSON(const std::string& json,
|
| std::map<int, FilePath>* out_file_paths) {
|
| scoped_ptr<Value> value(base::JSONReader::Read(json, false));
|
| - ASSERT_TRUE(value->IsType(Value::TYPE_DICTIONARY));
|
| + ASSERT_TRUE(value->IsDictionary());
|
| ParseImageNamesDictionary(static_cast<DictionaryValue*>(value.get()),
|
| out_file_paths);
|
| }
|
|
|