Index: content/utility/utility_thread_impl.cc |
=================================================================== |
--- content/utility/utility_thread_impl.cc (revision 126124) |
+++ content/utility/utility_thread_impl.cc (working copy) |
@@ -137,10 +137,11 @@ |
// On Linux, some plugins expect the browser to have loaded glib/gtk. Do that |
// before attempting to call into the plugin. |
#if defined(TOOLKIT_USES_GTK) |
- if (!g_thread_get_initialized()) { |
+ gfx::GtkInitFromCommandLine(*CommandLine::ForCurrentProcess()); |
+ /*if (!g_thread_get_initialized()) { |
g_thread_init(NULL); |
Elliot Glaysher
2012/03/28 17:49:00
Same thing here.
|
gfx::GtkInitFromCommandLine(*CommandLine::ForCurrentProcess()); |
- } |
+ }*/ |
#endif |
for (size_t i = 0; i < plugin_paths.size(); ++i) { |