Index: chrome/common/json_schema/json_schema_validator.cc |
diff --git a/chrome/common/json_schema/json_schema_validator.cc b/chrome/common/json_schema/json_schema_validator.cc |
index a303442e56dca07455ce0f695c37f6088da6b8e3..6e5e070b40ddfd6033461171d4f962b1b2ed401e 100644 |
--- a/chrome/common/json_schema/json_schema_validator.cc |
+++ b/chrome/common/json_schema/json_schema_validator.cc |
@@ -99,7 +99,7 @@ std::string JSONSchemaValidator::GetJSONSchemaType(const Value* value) { |
return schema::kArray; |
default: |
NOTREACHED() << "Unexpected value type: " << value->GetType(); |
- return ""; |
+ return std::string(); |
} |
} |
@@ -147,7 +147,7 @@ JSONSchemaValidator::~JSONSchemaValidator() {} |
bool JSONSchemaValidator::Validate(const Value* instance) { |
errors_.clear(); |
- Validate(instance, schema_root_, ""); |
+ Validate(instance, schema_root_, std::string()); |
return errors_.empty(); |
} |