| Index: chrome/service/service_process.cc
|
| diff --git a/chrome/service/service_process.cc b/chrome/service/service_process.cc
|
| index d747c93c72f13d06095633bead046f6b50d9ab62..12307160965f9a0bbe4aa167b0df59152eaccea3 100644
|
| --- a/chrome/service/service_process.cc
|
| +++ b/chrome/service/service_process.cc
|
| @@ -34,7 +34,7 @@
|
| #include "ui/base/resource/resource_bundle.h"
|
| #include "ui/base/ui_base_switches.h"
|
|
|
| -#if defined(TOOLKIT_USES_GTK)
|
| +#if defined(TOOLKIT_GTK)
|
| #include "ui/gfx/gtk_util.h"
|
| #include <gtk/gtk.h>
|
| #endif
|
| @@ -124,7 +124,7 @@ ServiceProcess::ServiceProcess()
|
| bool ServiceProcess::Initialize(MessageLoopForUI* message_loop,
|
| const CommandLine& command_line,
|
| ServiceProcessState* state) {
|
| -#if defined(TOOLKIT_USES_GTK)
|
| +#if defined(TOOLKIT_GTK)
|
| // TODO(jamiewalch): Calling GtkInitFromCommandLine here causes the process
|
| // to abort if run headless. The correct fix for this is to refactor the
|
| // service process to be more modular, a task that is currently underway.
|
|
|