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

Unified Diff: ipc/ipc_channel_factory.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: ipc/ipc_channel_factory.cc
diff --git a/ipc/ipc_channel_factory.cc b/ipc/ipc_channel_factory.cc
index d35532852143de0a81146a0e593c32a463ddf98b..3d5c86680bf245dd9ae0b0bb11070489670e6906 100644
--- a/ipc/ipc_channel_factory.cc
+++ b/ipc/ipc_channel_factory.cc
@@ -64,7 +64,8 @@ void ChannelFactory::OnFileCanReadWithoutBlocking(int fd) {
if (!IsPeerAuthorized(new_fd))
return;
- ChannelHandle handle("", base::FileDescriptor(*scoped_fd.release(), true));
+ ChannelHandle handle(std::string(),
+ base::FileDescriptor(*scoped_fd.release(), true));
delegate_->OnClientConnected(handle);
}

Powered by Google App Engine
This is Rietveld 408576698