From d00f32b32fa43f35f0bcdd9f258ce6bf1b08051f Mon Sep 17 00:00:00 2001 From: Peter Varga Date: Fri, 16 May 2014 13:34:31 +0200 Subject: Fix Renderer and GPU threads on windows These threads are using the UI message loop on Windows per default. This won't work since the UI message loop is handled by Qt and the Renderer and GPU threads won't work with it properly. Force these threads for using the default message loop as they use it on Linux platform. Change-Id: I8b04ba9070912378cf1d13173ddff48e98f9a49b Reviewed-by: Andras Becsi Reviewed-by: Peter Varga --- chromium/content/browser/gpu/gpu_process_host.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chromium/content/browser/gpu') diff --git a/chromium/content/browser/gpu/gpu_process_host.cc b/chromium/content/browser/gpu/gpu_process_host.cc index 5ad53405fac..54b37e8158b 100644 --- a/chromium/content/browser/gpu/gpu_process_host.cc +++ b/chromium/content/browser/gpu/gpu_process_host.cc @@ -513,7 +513,7 @@ bool GpuProcessHost::Init() { g_gpu_main_thread_factory(InProcessChildThreadParams( channel_id, base::MessageLoop::current()->task_runner()))); base::Thread::Options options; -#if defined(OS_WIN) +#if defined(OS_WIN) && !defined(TOOLKIT_QT) // WGL needs to create its own window and pump messages on it. options.message_loop_type = base::MessageLoop::TYPE_UI; #endif -- cgit v1.2.1