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

Unified Diff: chrome/common/extensions/api/commands/commands_handler.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/api/commands/commands_handler.cc
diff --git a/chrome/common/extensions/api/commands/commands_handler.cc b/chrome/common/extensions/api/commands/commands_handler.cc
index 309a204fc80d334b914f947cc0584f0a2e640c89..b5ed3c4dcb42b0c6b54d426e903f328e6133221f 100644
--- a/chrome/common/extensions/api/commands/commands_handler.cc
+++ b/chrome/common/extensions/api/commands/commands_handler.cc
@@ -137,8 +137,10 @@ void CommandsHandler::MaybeSetBrowserActionDefault(const Extension* extension,
CommandsInfo* info) {
if (extension->manifest()->HasKey(keys::kBrowserAction) &&
!info->browser_action_command.get()) {
- info->browser_action_command.reset(new Command(
- extension_manifest_values::kBrowserActionCommandEvent, string16(), ""));
+ info->browser_action_command.reset(
+ new Command(extension_manifest_values::kBrowserActionCommandEvent,
+ string16(),
+ std::string()));
}
}

Powered by Google App Engine
This is Rietveld 408576698