| Index: content/utility/utility_thread_impl.cc
|
| diff --git a/content/utility/utility_thread_impl.cc b/content/utility/utility_thread_impl.cc
|
| index cf85fbd2d4ed5ed8023a3feb18f7ec11c40576bd..b93eb544e73ea603e73ebcde35e03a350661d581 100644
|
| --- a/content/utility/utility_thread_impl.cc
|
| +++ b/content/utility/utility_thread_impl.cc
|
| @@ -21,7 +21,7 @@
|
| #include "webkit/glue/idb_bindings.h"
|
| #include "webkit/plugins/npapi/plugin_list.h"
|
|
|
| -#if defined(TOOLKIT_USES_GTK)
|
| +#if defined(TOOLKIT_GTK)
|
| #include <gtk/gtk.h>
|
|
|
| #include "ui/gfx/gtk_util.h"
|
| @@ -138,7 +138,7 @@ void UtilityThreadImpl::OnLoadPlugins(
|
| // before attempting to call into the plugin.
|
| // g_thread_init API is deprecated since glib 2.31.0, please see release note:
|
| // http://mail.gnome.org/archives/gnome-announce-list/2011-October/msg00041.html
|
| -#if defined(TOOLKIT_USES_GTK)
|
| +#if defined(TOOLKIT_GTK)
|
| #if !(GLIB_CHECK_VERSION(2, 31, 0))
|
| if (!g_thread_get_initialized()) {
|
| g_thread_init(NULL);
|
|
|