Index: base/message_pump_glib.cc |
diff --git a/base/message_pump_glib.cc b/base/message_pump_glib.cc |
index 2ff3cc014de1f6c1a5e220e1445cdaec7aea6004..602420ecedccbe09965476b156ccd6b8a517e53f 100644 |
--- a/base/message_pump_glib.cc |
+++ b/base/message_pump_glib.cc |
@@ -122,7 +122,7 @@ void MessagePumpForUI::Run(Delegate* delegate) { |
#ifndef NDEBUG |
// Make sure we only run this on one thread. GTK only has one message pump |
// so we can only have one UI loop per process. |
- static int thread_id = PlatformThread::CurrentId(); |
+ static PlatformThreadId thread_id = PlatformThread::CurrentId(); |
DCHECK(thread_id == PlatformThread::CurrentId()) << |
"Running MessagePumpForUI on two different threads; " |
"this is unsupported by GLib!"; |