From 499ededff612a67eba5bc0b4dfa767ae7bfb36d5 Mon Sep 17 00:00:00 2001 From: "thestig@chromium.org" Date: Mon, 11 Apr 2011 05:42:39 +0000 Subject: Printing: Fix CrOS build. Review URL: http://codereview.chromium.org/6825033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81070 0039d316-1c4b-4281-b951-d872f2087c98 --- printing/printing_context_cairo.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'printing') diff --git a/printing/printing_context_cairo.cc b/printing/printing_context_cairo.cc index d1c43f1..552cfbb 100644 --- a/printing/printing_context_cairo.cc +++ b/printing/printing_context_cairo.cc @@ -6,7 +6,6 @@ #include "base/logging.h" #include "base/values.h" -#include "printing/print_dialog_gtk_interface.h" #include "printing/print_job_constants.h" #include "printing/print_settings_initializer_gtk.h" #include "printing/units.h" @@ -16,6 +15,7 @@ #else #include #include +#include "printing/print_dialog_gtk_interface.h" #endif // defined(OS_CHROMEOS) #if !defined(OS_CHROMEOS) @@ -46,8 +46,10 @@ PrintingContextCairo::PrintingContextCairo(const std::string& app_locale) PrintingContextCairo::~PrintingContextCairo() { ReleaseContext(); +#if !defined(OS_CHROMEOS) if (print_dialog_) print_dialog_->ReleaseDialog(); +#endif } #if !defined(OS_CHROMEOS) -- cgit v1.1