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

Unified Diff: remoting/host/it2me/it2me_native_messaging_host_main.cc

Issue 326043002: Cleanup: Remove more dead GTK code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 6 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: remoting/host/it2me/it2me_native_messaging_host_main.cc
===================================================================
--- remoting/host/it2me/it2me_native_messaging_host_main.cc (revision 275947)
+++ remoting/host/it2me/it2me_native_messaging_host_main.cc (working copy)
@@ -18,10 +18,6 @@
#include "remoting/host/logging.h"
#include "remoting/host/usage_stats_consent.h"
-#if defined(OS_LINUX)
-#include <gtk/gtk.h>
-#endif // defined(OS_LINUX)
-
#if defined(OS_MACOSX)
#include "base/mac/scoped_nsautorelease_pool.h"
#endif // defined(OS_MACOSX)
@@ -62,14 +58,6 @@
remoting::LoadResources("");
- // Cannot use TOOLKIT_GTK because it is not defined when aura is enabled.
Sergey Ulanov 2014/06/10 05:29:39 Please don't remove this stuff. We still use GTK i
-#if defined(OS_LINUX)
- // Required for any calls into GTK functions, such as the Disconnect and
- // Continue windows. Calling with NULL arguments because we don't have
- // any command line arguments for gtk to consume.
- gtk_init(NULL, NULL);
-#endif // OS_LINUX
-
// Enable support for SSL server sockets, which must be done while still
// single-threaded.
net::EnableSSLServerSockets();

Powered by Google App Engine
This is Rietveld 408576698