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

Unified Diff: chrome/common/net/x509_certificate_model.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/common/metrics/entropy_provider_unittest.cc ('k') | chrome/common/net/x509_certificate_model_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/x509_certificate_model.cc
diff --git a/chrome/common/net/x509_certificate_model.cc b/chrome/common/net/x509_certificate_model.cc
index 950b4f28bb9b2b783f6f82923890cfbc6935b4c7..e1f084785c203749eb515bfed086bfbba1ab36cf 100644
--- a/chrome/common/net/x509_certificate_model.cc
+++ b/chrome/common/net/x509_certificate_model.cc
@@ -61,7 +61,7 @@ std::string ProcessRawBytesWithSeparators(const unsigned char* data,
size_t kMin = 0U;
if (!data_length)
- return "";
+ return std::string();
ret.reserve(std::max(kMin, data_length * 3 - 1));
« no previous file with comments | « chrome/common/metrics/entropy_provider_unittest.cc ('k') | chrome/common/net/x509_certificate_model_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698