Index: content/browser/browser_main.cc |
diff --git a/content/browser/browser_main.cc b/content/browser/browser_main.cc |
index 639e901a3e3ed4257df0d2065374adf4a6976c17..b2ba07da311f2b2f60ee6401d409fc454352202f 100644 |
--- a/content/browser/browser_main.cc |
+++ b/content/browser/browser_main.cc |
@@ -291,7 +291,12 @@ void BrowserMainParts::InitializeToolkit() { |
// TODO(satorux, stevenjb): remove this once it is no longer needed. |
dbus_g_thread_init(); |
#endif |
+#if defined(USE_AURA) |
+ // TODO(saintlou): We still need some GTK at the lowest level, so init here. |
oshima
2011/09/19 15:52:39
Do you remember what was the issue?
|
+ gtk_init(NULL, NULL); |
+#else |
gfx::GtkInitFromCommandLine(parameters().command_line_); |
+#endif |
SetUpGLibLogHandler(); |
#endif |