summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/manifest_url_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/extensions/manifest_url_handler.cc')
-rw-r--r--chrome/common/extensions/manifest_url_handler.cc8
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 690cc03..2e18eb1 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,
- std::string());
+ *error = ErrorUtils::FormatErrorMessageUTF16(
+ errors::kInvalidHomepageURL, "");
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,
- std::string());
+ *error = ErrorUtils::FormatErrorMessageUTF16(
+ errors::kInvalidUpdateURL, "");
return false;
}