Index: chrome/browser/printing/print_job_worker.cc |
=================================================================== |
--- chrome/browser/printing/print_job_worker.cc (revision 69187) |
+++ chrome/browser/printing/print_job_worker.cc (working copy) |
@@ -84,7 +84,7 @@ |
printing_context_->set_use_overlays(use_overlays); |
if (ask_user_for_settings) { |
-#if defined(OS_MACOSX) || defined(USE_X11) |
+#if defined(OS_POSIX) |
BrowserThread::PostTask( |
BrowserThread::UI, FROM_HERE, |
NewRunnableMethod(this, &PrintJobWorker::GetSettingsWithUI, |
@@ -96,7 +96,7 @@ |
document_page_count, |
has_selection, |
NewCallback(this, &PrintJobWorker::GetSettingsDone)); |
-#endif // defined(OS_MACOSX) || defined(USE_X11) |
+#endif // defined(OS_POSIX) |
} else { |
PrintingContext::Result result = printing_context_->UseDefaultSettings(); |
GetSettingsDone(result); |
@@ -118,7 +118,7 @@ |
result)); |
} |
-#if defined(OS_MACOSX) || defined(USE_X11) |
+#if defined(OS_POSIX) |
void PrintJobWorker::GetSettingsWithUI(gfx::NativeView parent_view, |
int document_page_count, |
bool has_selection) { |
@@ -135,7 +135,7 @@ |
message_loop()->PostTask(FROM_HERE, NewRunnableMethod( |
this, &PrintJobWorker::GetSettingsDone, result)); |
} |
-#endif // defined(OS_MACOSX) || defined(USE_X11) |
+#endif // defined(OS_POSIX) |
void PrintJobWorker::StartPrinting(PrintedDocument* new_document) { |
DCHECK_EQ(message_loop(), MessageLoop::current()); |