Index: ui/surface/transport_dib_sysvipc.cc |
=================================================================== |
--- ui/surface/transport_dib_sysvipc.cc (revision 192091) |
+++ ui/surface/transport_dib_sysvipc.cc (working copy) |
@@ -4,6 +4,10 @@ |
#include "ui/surface/transport_dib.h" |
+// Desktop GTK Linux builds use the old-style SYSV SHM based DIBs. |
+// Linux Aura and Chrome OS do too. This will change very soon. |
+#if defined(TOOLKIT_GTK) || (defined(OS_LINUX) && defined(USE_AURA)) |
+ |
#include <errno.h> |
#include <stdlib.h> |
#include <sys/ipc.h> |
@@ -153,3 +157,6 @@ |
if (!inflight_counter_) |
delete this; |
} |
+ |
+#endif |
+ |