summaryrefslogtreecommitdiff
path: root/chromium/content/browser/gpu/gpu_process_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/gpu/gpu_process_host.cc')
-rw-r--r--chromium/content/browser/gpu/gpu_process_host.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/content/browser/gpu/gpu_process_host.cc b/chromium/content/browser/gpu/gpu_process_host.cc
index fcf8f3d0f82..c5ec9cbf71c 100644
--- a/chromium/content/browser/gpu/gpu_process_host.cc
+++ b/chromium/content/browser/gpu/gpu_process_host.cc
@@ -834,7 +834,7 @@ bool GpuProcessHost::Init() {
process_->GetInProcessMojoInvitation()),
gpu_preferences));
base::Thread::Options options;
-#if defined(OS_WIN) || defined(OS_MACOSX)
+#if (defined(OS_WIN) || defined(OS_MACOSX)) && !defined(TOOLKIT_QT)
// WGL needs to create its own window and pump messages on it.
options.message_pump_type = base::MessagePumpType::UI;
#endif