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

Unified Diff: net/base/mime_util.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 | « net/base/mime_sniffer_unittest.cc ('k') | net/base/mime_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/mime_util.cc
diff --git a/net/base/mime_util.cc b/net/base/mime_util.cc
index 21a05bf6b6bf1b7df9fa8cae831e4761350cf196..b3053a6ea902f283b25f332d7c7f000b68cba6d9 100644
--- a/net/base/mime_util.cc
+++ b/net/base/mime_util.cc
@@ -967,7 +967,7 @@ const std::string GetIANAMediaType(const std::string& mime_type) {
return kIanaMediaTypes[i].name;
}
}
- return "";
+ return std::string();
}
CertificateMimeType GetCertificateMimeTypeForMimeType(
« no previous file with comments | « net/base/mime_sniffer_unittest.cc ('k') | net/base/mime_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698