Index: content/browser/renderer_host/pepper/pepper_print_settings_manager.cc |
diff --git a/content/browser/renderer_host/pepper/pepper_print_settings_manager.cc b/content/browser/renderer_host/pepper/pepper_print_settings_manager.cc |
index 8e2d7fa4832206c76eef6b9fa1f975f5958370d4..f18aa82ececa47aa2982991aa202ccd8333c7fcb 100644 |
--- a/content/browser/renderer_host/pepper/pepper_print_settings_manager.cc |
+++ b/content/browser/renderer_host/pepper/pepper_print_settings_manager.cc |
@@ -8,8 +8,9 @@ |
#include "content/public/browser/content_browser_client.h" |
#include "content/public/common/content_client.h" |
#include "ppapi/c/pp_errors.h" |
+#include "printing/features/features.h" |
-#if defined(ENABLE_PRINT_PREVIEW) |
+#if BUILDFLAG(ENABLE_PRINT_PREVIEW) |
#include "printing/printing_context.h" // nogncheck |
#include "printing/units.h" // nogncheck |
#endif |
@@ -18,7 +19,7 @@ namespace content { |
namespace { |
-#if defined(ENABLE_PRINT_PREVIEW) |
+#if BUILDFLAG(ENABLE_PRINT_PREVIEW) |
// Print units conversion functions. |
int32_t DeviceUnitsInPoints(int32_t device_units, |
int32_t device_units_per_inch) { |