diff options
Diffstat (limited to 'chromium/content/gpu/gpu_main.cc')
-rw-r--r-- | chromium/content/gpu/gpu_main.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/content/gpu/gpu_main.cc b/chromium/content/gpu/gpu_main.cc index c6a59fc9c19..3f0a2d4f047 100644 --- a/chromium/content/gpu/gpu_main.cc +++ b/chromium/content/gpu/gpu_main.cc @@ -162,7 +162,11 @@ int GpuMain(const MainFunctionParams& parameters) { #if defined(OS_WIN) // Use a UI message loop because ANGLE and the desktop GL platform can // create child windows to render to. +#if defined(TOOLKIT_QT) + base::MessageLoop main_message_loop(base::MessageLoop::TYPE_DEFAULT); +#else base::MessageLoop main_message_loop(base::MessageLoop::TYPE_UI); +#endif #elif defined(OS_LINUX) && defined(USE_X11) // We need a UI loop so that we can grab the Expose events. See GLSurfaceGLX // and https://crbug.com/326995. |