Index: ipc/mojo/ipc_channel_mojo.cc |
diff --git a/ipc/mojo/ipc_channel_mojo.cc b/ipc/mojo/ipc_channel_mojo.cc |
index a93adf168efb68c8822392d4e32ed826825d7cf3..6f4a0bec7afffd36b2ed218b9ba21e56f54ccff3 100644 |
--- a/ipc/mojo/ipc_channel_mojo.cc |
+++ b/ipc/mojo/ipc_channel_mojo.cc |
@@ -52,8 +52,15 @@ void ChannelMojo::ChannelInfoDeleter::operator()( |
// static |
bool ChannelMojo::ShouldBeUsed() { |
- // TODO(morrita): Turn this on for a set of platforms. |
+ // Being conservative, this is currently enabled only on Mac and |
+ // Linux even though this should work on all platform, |
viettrungluu
2014/10/21 18:28:18
s/platform/platforms/
(also, , -> .)
|
+ // TODO(morrita): Turn this on all platform and kill |
+ // --enable-renderer-mojo-channel |
+#if defined(OS_POSIX) && !defined(OS_ANDROID) |
+ return true; |
+#else |
return false; |
+#endif |
} |
// static |