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

Unified Diff: chrome/browser/net/url_info.cc

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-run on ToT, revert third_party changes and fix vexing parses. 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/browser/net/url_info.cc
diff --git a/chrome/browser/net/url_info.cc b/chrome/browser/net/url_info.cc
index ddba65836cb7e13c84a49f4d0df89feb73612a76..10468271587821c8c5663ee7a5a0e6b9acc139a1 100644
--- a/chrome/browser/net/url_info.cc
+++ b/chrome/browser/net/url_info.cc
@@ -361,7 +361,7 @@ std::string UrlInfo::GetAsciiMotivation() const {
return RemoveJs(referring_url_.spec());
default:
- return "";
+ return std::string();
}
}

Powered by Google App Engine
This is Rietveld 408576698