Index: ui/surface/transport_dib_posix.cc |
=================================================================== |
--- ui/surface/transport_dib_posix.cc (revision 192091) |
+++ ui/surface/transport_dib_posix.cc (working copy) |
@@ -4,6 +4,15 @@ |
#include "ui/surface/transport_dib.h" |
+#if defined(TOOLKIT_GTK) |
+// The GTK-specific source file overrides this POSIX implementation. |
+#elif defined(OS_LINUX) && defined(USE_AURA) |
+// At the moment, Aura on Linux builds use the old-style SYSV SHM based DIBs. |
+// This includes Chrome OS. |
+// It will change very soon. |
+#include "transport_dib_gtk.cc" |
Ken Russell (switch to Gerrit)
2013/04/04 00:26:45
That's gross -- is there a timeframe for cleaning
|
+#else |
+ |
#include <sys/stat.h> |
#include <unistd.h> |
@@ -95,3 +104,5 @@ |
TransportDIB::Handle TransportDIB::handle() const { |
return shared_memory_.handle(); |
} |
+ |
+#endif |