| Index: chrome/plugin/plugin_thread.cc
|
| diff --git a/chrome/plugin/plugin_thread.cc b/chrome/plugin/plugin_thread.cc
|
| index ae90e1a6b8fdc1395a515768c587e79bc8102073..307cbaaee6d2d6ff0d5b38153f7d63635d9d02fe 100644
|
| --- a/chrome/plugin/plugin_thread.cc
|
| +++ b/chrome/plugin/plugin_thread.cc
|
| @@ -35,6 +35,7 @@ PluginThread::PluginThread()
|
| {
|
| // XEmbed plugins assume they are hosted in a Gtk application, so we need
|
| // to initialize Gtk in the plugin process.
|
| + g_thread_init(NULL);
|
| const std::vector<std::string>& args =
|
| CommandLine::ForCurrentProcess()->argv();
|
| int argc = args.size();
|
|
|