| Index: chrome/browser/chrome_browser_main_posix.cc
|
| diff --git a/chrome/browser/chrome_browser_main_posix.cc b/chrome/browser/chrome_browser_main_posix.cc
|
| index aa54aec936e05adc1fb97ac1ccdf4741b32444ab..518d8ecfe9c8d28438f92dc9b03753f80e2e6982 100644
|
| --- a/chrome/browser/chrome_browser_main_posix.cc
|
| +++ b/chrome/browser/chrome_browser_main_posix.cc
|
| @@ -20,7 +20,7 @@
|
| #include "chrome/common/chrome_switches.h"
|
| #include "content/browser/browser_thread.h"
|
|
|
| -#if defined(TOOLKIT_USES_GTK) && !defined(OS_CHROMEOS)
|
| +#if defined(TOOLKIT_USES_GTK) && !defined(OS_CHROMEOS) && !defined(USE_AURA)
|
| #include "chrome/browser/printing/print_dialog_gtk.h"
|
| #endif
|
|
|
| @@ -255,7 +255,7 @@ void ChromeBrowserMainPartsPosix::PostMainMessageLoopStart() {
|
| action.sa_handler = SIGHUPHandler;
|
| CHECK(sigaction(SIGHUP, &action, NULL) == 0);
|
|
|
| -#if defined(TOOLKIT_USES_GTK) && !defined(OS_CHROMEOS)
|
| +#if defined(TOOLKIT_USES_GTK) && !defined(OS_CHROMEOS) && !defined(USE_AURA)
|
| printing::PrintingContextCairo::SetCreatePrintDialogFunction(
|
| &PrintDialogGtk::CreatePrintDialog);
|
| #endif
|
|
|