summaryrefslogtreecommitdiff
path: root/samples/pdfium_test.cc
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-11-24 15:30:36 -0800
committerTom Sepez <tsepez@chromium.org>2015-11-24 15:30:36 -0800
commitc98895c6a9d0809c2780f5180fa8054eeba04b2b (patch)
tree86e2015bbe0ef54566898198d6df7d8900403b3c /samples/pdfium_test.cc
parent540c436dc8e7d7b700b448acc8536f5cf68d4b74 (diff)
downloadpdfium-c98895c6a9d0809c2780f5180fa8054eeba04b2b.tar.xz
Make xfa samples/ look more like master
R=thestig@chromium.org Review URL: https://codereview.chromium.org/1476683002 .
Diffstat (limited to 'samples/pdfium_test.cc')
-rw-r--r--samples/pdfium_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/pdfium_test.cc b/samples/pdfium_test.cc
index 8162287053..86c7afd529 100644
--- a/samples/pdfium_test.cc
+++ b/samples/pdfium_test.cc
@@ -6,7 +6,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <wchar.h>
#include <list>
#include <sstream>
@@ -432,6 +431,7 @@ void RenderPdf(const std::string& name, const char* pBuf, size_t len,
int nRet = PDF_DATA_NOTAVAIL;
bool bIsLinearized = false;
FPDF_AVAIL pdf_avail = FPDFAvail_Create(&file_avail, &file_access);
+
if (FPDFAvail_IsLinearized(pdf_avail) == PDF_LINEARIZED) {
fprintf(stderr, "Linearized path...\n");
doc = FPDFAvail_GetDocument(pdf_avail, nullptr);