Chromium Code Reviews| 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(); |