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

Unified Diff: content/browser/renderer_host/render_sandbox_host_linux.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
Index: content/browser/renderer_host/render_sandbox_host_linux.cc
diff --git a/content/browser/renderer_host/render_sandbox_host_linux.cc b/content/browser/renderer_host/render_sandbox_host_linux.cc
index 0cc3638740388ffc5fe4cbfe4f7bc4aed6fcefea..78eba83626758ce15593cc7d4aa2069ce3f70d58 100644
--- a/content/browser/renderer_host/render_sandbox_host_linux.cc
+++ b/content/browser/renderer_host/render_sandbox_host_linux.cc
@@ -278,7 +278,7 @@ class SandboxIPCProcess {
if (family.name.data()) {
reply.WriteString(family.name.data());
} else {
- reply.WriteString("");
+ reply.WriteString(std::string());
}
reply.WriteBool(family.isBold);
reply.WriteBool(family.isItalic);

Powered by Google App Engine
This is Rietveld 408576698