Index: chrome/browser/printing/printing_message_filter.cc |
diff --git a/chrome/browser/printing/printing_message_filter.cc b/chrome/browser/printing/printing_message_filter.cc |
index 57873b9d991413e3b45193f3a340343b5ef899f6..6af14f7f13139f166d1dea644f004294a9b5dcdd 100644 |
--- a/chrome/browser/printing/printing_message_filter.cc |
+++ b/chrome/browser/printing/printing_message_filter.cc |
@@ -18,7 +18,7 @@ |
#include "content/public/browser/web_contents.h" |
#include "content/public/common/child_process_host.h" |
-#if defined(ENABLE_FULL_PRINTING) |
+#if defined(ENABLE_PRINT_PREVIEW) |
#include "chrome/browser/ui/webui/print_preview/print_preview_ui.h" |
#endif |
@@ -135,7 +135,7 @@ bool PrintingMessageFilter::OnMessageReceived(const IPC::Message& message) { |
IPC_MESSAGE_HANDLER_DELAY_REPLY(PrintHostMsg_ScriptedPrint, OnScriptedPrint) |
IPC_MESSAGE_HANDLER_DELAY_REPLY(PrintHostMsg_UpdatePrintSettings, |
OnUpdatePrintSettings) |
-#if defined(ENABLE_FULL_PRINTING) |
+#if defined(ENABLE_PRINT_PREVIEW) |
IPC_MESSAGE_HANDLER(PrintHostMsg_CheckForCancel, OnCheckForCancel) |
#endif |
IPC_MESSAGE_UNHANDLED(handled = false) |
@@ -440,7 +440,7 @@ void PrintingMessageFilter::OnUpdatePrintSettingsReply( |
} |
} |
-#if defined(ENABLE_FULL_PRINTING) |
+#if defined(ENABLE_PRINT_PREVIEW) |
void PrintingMessageFilter::OnCheckForCancel(int32 preview_ui_id, |
int preview_request_id, |
bool* cancel) { |