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

Unified Diff: ui/surface/transport_dib_sysvipc.cc

Issue 13582008: Simplify the transport dib situation across our various platforms, as a (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
« no previous file with comments | « ui/surface/transport_dib_posix.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
+
« no previous file with comments | « ui/surface/transport_dib_posix.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698