summaryrefslogtreecommitdiffstats
path: root/ui/gfx/gtk_native_view_id_manager.h
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-01 23:27:00 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-01 23:27:00 +0000
commit158e6e5b427a5ad956fad941e3d3581a03a62e0d (patch)
treebcf756f36284cededaef6ef55594eb54059a11b5 /ui/gfx/gtk_native_view_id_manager.h
parentc6a4563a5f7734e12056cfc386b611a827e7645e (diff)
downloadchromium_src-158e6e5b427a5ad956fad941e3d3581a03a62e0d.zip
chromium_src-158e6e5b427a5ad956fad941e3d3581a03a62e0d.tar.gz
chromium_src-158e6e5b427a5ad956fad941e3d3581a03a62e0d.tar.bz2
Remove the background X11 thread.
After r87381, we no longer have anything that uses the background X11 thread. I think there's still considerable cleanup that can be done to gtk_native_view_id_manager.*, but I'll do that in a follow up. Review URL: http://codereview.chromium.org/7020013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87548 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/gtk_native_view_id_manager.h')
-rw-r--r--ui/gfx/gtk_native_view_id_manager.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/ui/gfx/gtk_native_view_id_manager.h b/ui/gfx/gtk_native_view_id_manager.h
index 6b544ff..2a651a0 100644
--- a/ui/gfx/gtk_native_view_id_manager.h
+++ b/ui/gfx/gtk_native_view_id_manager.h
@@ -16,16 +16,9 @@ typedef unsigned long XID;
struct _GtkPreserveWindow;
// NativeViewIds are the opaque values which the renderer holds as a reference
-// to a window. These ids are often used in sync calls from the renderer and
-// one cannot terminate sync calls on the UI thread as that can lead to
-// deadlocks.
+// to a window.
//
-// Because of this, we have the BACKGROUND_X11 thread for these calls and this
-// thread has a separate X connection in order to answer them. But one cannot
-// use GTK on multiple threads, so the BACKGROUND_X11 thread deals only in Xlib
-// calls and, thus, XIDs.
-//
-// So we could make NativeViewIds be the X id of the window. However, at the
+// We could make NativeViewIds be the X id of the window. However, at the
// time when we need to tell the renderer about its NativeViewId, an XID isn't
// availible and it goes very much against the grain of the code to make it so.
// Also, we worry that GTK might choose to change the underlying X window id