| Index: samples/pdfium_test.cc
|
| diff --git a/samples/pdfium_test.cc b/samples/pdfium_test.cc
|
| index 421df39bf3cdfe30d56326dad52a585e444ea490..b78075e788c020992a3e231923811f59b5713ffb 100644
|
| --- a/samples/pdfium_test.cc
|
| +++ b/samples/pdfium_test.cc
|
| @@ -573,9 +573,9 @@ bool RenderPage(const std::string& name,
|
| if (bitmap) {
|
| FPDF_DWORD fill_color = alpha ? 0x00000000 : 0xFFFFFFFF;
|
| FPDFBitmap_FillRect(bitmap, 0, 0, width, height, fill_color);
|
| - FPDF_RenderPageBitmap(bitmap, page, 0, 0, width, height, 0, 0);
|
| + FPDF_RenderPageBitmap(bitmap, page, 0, 0, width, height, 0, FPDF_ANNOT);
|
|
|
| - FPDF_FFLDraw(form, bitmap, page, 0, 0, width, height, 0, 0);
|
| + FPDF_FFLDraw(form, bitmap, page, 0, 0, width, height, 0, FPDF_ANNOT);
|
| int stride = FPDFBitmap_GetStride(bitmap);
|
| const char* buffer =
|
| reinterpret_cast<const char*>(FPDFBitmap_GetBuffer(bitmap));
|
|
|