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

Unified Diff: content/gpu/gpu_child_thread.cc

Issue 7006006: Replace OS_LINUX ifdefs with OS_POSIX & !OS_MACOSX, TOOLKIT_USES_GTK, or (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 7 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 | « content/common/native_web_keyboard_event_views.cc ('k') | content/plugin/plugin_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_child_thread.cc
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
index d3e6e949b60707fedc11760844073f4df73412da..b84ac0f2a3284e44dde43d0836bdbdd7246c92b4 100644
--- a/content/gpu/gpu_child_thread.cc
+++ b/content/gpu/gpu_child_thread.cc
@@ -89,7 +89,7 @@ bool GpuChildThread::Send(IPC::Message* msg) {
// process. This could result in deadlock. Unfortunately linux does this for
// GpuHostMsg_ResizeXID. TODO(apatrick): fix this before issuing any GL calls
// on the browser process' GPU thread.
-#if !defined(OS_LINUX)
+#if !defined(TOOLKIT_USES_GTK)
DCHECK(!msg->is_sync());
#endif
« no previous file with comments | « content/common/native_web_keyboard_event_views.cc ('k') | content/plugin/plugin_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698