Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1029)

Unified Diff: content/browser/browser_main.cc

Issue 7850026: Aura under Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: White spaces Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698