Index: components/printing/common/print_messages.cc |
diff --git a/components/printing/common/print_messages.cc b/components/printing/common/print_messages.cc |
index 9fc71ace74c2ab1922559ad1b55876cacd13c7c5..c3469fcdfa2f0ba9ec904c602aec921031168af9 100644 |
--- a/components/printing/common/print_messages.cc |
+++ b/components/printing/common/print_messages.cc |
@@ -95,6 +95,7 @@ void PrintMsg_PrintPages_Params::Reset() { |
pages = std::vector<int>(); |
} |
+#if defined(ENABLE_PRINT_PREVIEW) |
PrintHostMsg_RequestPrintPreview_Params:: |
PrintHostMsg_RequestPrintPreview_Params() |
: is_modifiable(false), |
@@ -116,3 +117,4 @@ PrintHostMsg_SetOptionsFromDocument_Params:: |
PrintHostMsg_SetOptionsFromDocument_Params:: |
~PrintHostMsg_SetOptionsFromDocument_Params() { |
} |
+#endif // defined(ENABLE_PRINT_PREVIEW) |