diff options
author | cevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-19 18:41:36 +0000 |
---|---|---|
committer | cevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-19 18:41:36 +0000 |
commit | 966d91a1832fc1ddab3c25fdf84b90dbe5d76acb (patch) | |
tree | 1bdc184a9bf85383cc513535fb5560d5092d9312 /content/gpu | |
parent | b3c41808fd27fe931bd68fb0d5a2d6a6c5ef3367 (diff) | |
download | chromium_src-966d91a1832fc1ddab3c25fdf84b90dbe5d76acb.zip chromium_src-966d91a1832fc1ddab3c25fdf84b90dbe5d76acb.tar.gz chromium_src-966d91a1832fc1ddab3c25fdf84b90dbe5d76acb.tar.bz2 |
Use the simpler DEFAULT message loop type to avoid calling into GTK.
BUG=124177
Review URL: https://chromiumcodereview.appspot.com/9985006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133023 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/gpu')
-rw-r--r-- | content/gpu/gpu_main.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc index ed97b45..661dcb2 100644 --- a/content/gpu/gpu_main.cc +++ b/content/gpu/gpu_main.cc @@ -142,6 +142,8 @@ int GpuMain(const content::MainFunctionParams& parameters) { gfx::kGLImplementationDesktopName) { message_loop_type = MessageLoop::TYPE_UI; } +#elif defined(OS_LINUX) + message_loop_type = MessageLoop::TYPE_DEFAULT; #endif MessageLoop main_message_loop(message_loop_type); |