summaryrefslogtreecommitdiff
path: root/chromium/pdf/pdf.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2021-03-12 09:13:00 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2021-03-16 09:58:26 +0000
commit03561cae90f1d99b5c54b1ef3be69f10e882b25e (patch)
treecc5f0958e823c044e7ae51cc0117fe51432abe5e /chromium/pdf/pdf.h
parentfa98118a45f7e169f8846086dc2c22c49a8ba310 (diff)
downloadqtwebengine-chromium-03561cae90f1d99b5c54b1ef3be69f10e882b25e.tar.gz
BASELINE: Update Chromium to 88.0.4324.208
Change-Id: I3ae87d23e4eff4b4a469685658740a213600c667 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/pdf/pdf.h')
-rw-r--r--chromium/pdf/pdf.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chromium/pdf/pdf.h b/chromium/pdf/pdf.h
index 56a97d4e5a3..d1137751115 100644
--- a/chromium/pdf/pdf.h
+++ b/chromium/pdf/pdf.h
@@ -11,6 +11,7 @@
#include "base/optional.h"
#include "base/values.h"
#include "build/build_config.h"
+#include "build/chromeos_buildflags.h"
#if defined(OS_WIN)
#include <windows.h>
@@ -30,12 +31,12 @@ class SizeF;
namespace chrome_pdf {
-#if defined(OS_CHROMEOS)
+#if BUILDFLAG(IS_ASH)
// Create a flattened PDF document from an existing PDF document.
// |input_buffer| is the buffer that contains the entire PDF document to be
// flattened.
std::vector<uint8_t> CreateFlattenedPdf(base::span<const uint8_t> input_buffer);
-#endif // defined(OS_CHROMEOS)
+#endif // BUILDFLAG(IS_ASH)
#if defined(OS_WIN)
// Printing modes - type to convert PDF to for printing. See PDFium's