Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5118)

Unified Diff: chrome/common/extensions/extension.cc

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ugh Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/extension.cc
diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc
index a94120886b5fbad43f2b727f252e992e71e5fd04..42407b8eb48cbf8c20d7f7881d913771beb73f78 100644
--- a/chrome/common/extensions/extension.cc
+++ b/chrome/common/extensions/extension.cc
@@ -437,8 +437,8 @@ bool Extension::ParsePermissions(const char* key,
if (manifest_->HasKey(key)) {
const ListValue* permissions = NULL;
if (!manifest_->GetList(key, &permissions)) {
- *error = ErrorUtils::FormatErrorMessageUTF16(
- errors::kInvalidPermissions, "");
+ *error = ErrorUtils::FormatErrorMessageUTF16(errors::kInvalidPermissions,
+ std::string());
return false;
}
« no previous file with comments | « chrome/common/extensions/csp_validator_unittest.cc ('k') | chrome/common/extensions/extension_file_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698