Index: chrome/common/json_schema_validator_unittest_base.cc |
diff --git a/chrome/common/json_schema_validator_unittest_base.cc b/chrome/common/json_schema_validator_unittest_base.cc |
index 5a9112304ffda419f984bb3612a1100709fff461..3c7d753d22621fdd7342aab63e577262d42e35ec 100644 |
--- a/chrome/common/json_schema_validator_unittest_base.cc |
+++ b/chrome/common/json_schema_validator_unittest_base.cc |
@@ -40,7 +40,7 @@ Value* LoadValue(const std::string& filename, base::Value::Type type) { |
scoped_ptr<Value> result(LoadValue(filename)); |
if (!result.get()) |
return NULL; |
- if (!result->IsType(type)) { |
+ if (result->GetType() != type) { |
ADD_FAILURE() << "Expected type " << type << ", got: " << result->GetType(); |
return NULL; |
} |