summaryrefslogtreecommitdiffstats
path: root/content/gpu
diff options
context:
space:
mode:
authorcevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-19 18:41:36 +0000
committercevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-19 18:41:36 +0000
commit966d91a1832fc1ddab3c25fdf84b90dbe5d76acb (patch)
tree1bdc184a9bf85383cc513535fb5560d5092d9312 /content/gpu
parentb3c41808fd27fe931bd68fb0d5a2d6a6c5ef3367 (diff)
downloadchromium_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.cc2
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);