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

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: 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: 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(

Powered by Google App Engine
This is Rietveld 408576698