diff options
Diffstat (limited to 'chrome/common/extensions/manifest_url_handler.cc')
-rw-r--r-- | chrome/common/extensions/manifest_url_handler.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/common/extensions/manifest_url_handler.cc b/chrome/common/extensions/manifest_url_handler.cc index 2e18eb1..690cc03 100644 --- a/chrome/common/extensions/manifest_url_handler.cc +++ b/chrome/common/extensions/manifest_url_handler.cc @@ -125,8 +125,8 @@ bool HomepageURLHandler::Parse(Extension* extension, string16* error) { std::string homepage_url_str; if (!extension->manifest()->GetString(keys::kHomepageURL, &homepage_url_str)) { - *error = ErrorUtils::FormatErrorMessageUTF16( - errors::kInvalidHomepageURL, ""); + *error = ErrorUtils::FormatErrorMessageUTF16(errors::kInvalidHomepageURL, + std::string()); return false; } manifest_url->url_ = GURL(homepage_url_str); @@ -156,8 +156,8 @@ bool UpdateURLHandler::Parse(Extension* extension, string16* error) { std::string tmp_update_url; if (!extension->manifest()->GetString(keys::kUpdateURL, &tmp_update_url)) { - *error = ErrorUtils::FormatErrorMessageUTF16( - errors::kInvalidUpdateURL, ""); + *error = ErrorUtils::FormatErrorMessageUTF16(errors::kInvalidUpdateURL, + std::string()); return false; } |