summaryrefslogtreecommitdiffstats
path: root/ipc/mojo
diff options
context:
space:
mode:
authormorrita <morrita@chromium.org>2014-10-29 17:35:51 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-30 00:36:24 +0000
commitd4d85c640375ea7f9692e53860f4de058a7f0ea1 (patch)
tree1ccd4627e6aa7c7057c1182b1bd93241fef32001 /ipc/mojo
parent50a0abfb13b02bb65ebb23ab8a208499db0c795d (diff)
downloadchromium_src-d4d85c640375ea7f9692e53860f4de058a7f0ea1.zip
chromium_src-d4d85c640375ea7f9692e53860f4de058a7f0ea1.tar.gz
chromium_src-d4d85c640375ea7f9692e53860f4de058a7f0ea1.tar.bz2
Enable ChannelMojo on Linux
This change enables ChannelMojo on Linux. There could possibly be a perf slowdown, especially on latency metrics. If you're looking for the cause of some perf bot redness, probably this is that one. Please feel free to revert and let me know which benchmark was hit. BUG=664413003 R=viettrungluu@chromium.org Review URL: https://codereview.chromium.org/684323002 Cr-Commit-Position: refs/heads/master@{#301992}
Diffstat (limited to 'ipc/mojo')
-rw-r--r--ipc/mojo/ipc_channel_mojo.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/ipc/mojo/ipc_channel_mojo.cc b/ipc/mojo/ipc_channel_mojo.cc
index 4051bb5..e544340 100644
--- a/ipc/mojo/ipc_channel_mojo.cc
+++ b/ipc/mojo/ipc_channel_mojo.cc
@@ -176,7 +176,11 @@ void ChannelMojo::ChannelInfoDeleter::operator()(
// static
bool ChannelMojo::ShouldBeUsed() {
// TODO(morrita): Turn this on for a set of platforms.
+#if defined(OS_LINUX)
+ return true;
+#else
return false;
+#endif
}
// static