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

Unified Diff: chrome/common/child_process_logging_posix.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
« no previous file with comments | « chrome/browser/webdata/token_service_table_unittest.cc ('k') | chrome/common/content_settings_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/child_process_logging_posix.cc
diff --git a/chrome/common/child_process_logging_posix.cc b/chrome/common/child_process_logging_posix.cc
index 1690cd55bfb01dd82e4ee9820949c1b86dac6042..496103eda8f94b172de6622629cb2f03f05f88b2 100644
--- a/chrome/common/child_process_logging_posix.cc
+++ b/chrome/common/child_process_logging_posix.cc
@@ -66,7 +66,7 @@ void SetActiveURL(const GURL& url) {
void SetClientId(const std::string& client_id) {
std::string str(client_id);
- ReplaceSubstringsAfterOffset(&str, 0, "-", "");
+ ReplaceSubstringsAfterOffset(&str, 0, "-", std::string());
if (str.empty())
return;
« no previous file with comments | « chrome/browser/webdata/token_service_table_unittest.cc ('k') | chrome/common/content_settings_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698