diff options
author | Cary Clark <caryclark@skia.org> | 2017-07-19 15:33:34 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-07-19 20:19:30 +0000 |
commit | d4c401194137f3f7f466f6daaa7fe3ffb4b6cd53 (patch) | |
tree | 6efe68a14e33c5ec1d1650bf5f32e1dd516275f1 /fpdfsdk | |
parent | df2122a240bb0bd1a3f392433175a35eb3c8c6fc (diff) | |
download | pdfium-d4c401194137f3f7f466f6daaa7fe3ffb4b6cd53.tar.xz |
fix continue skia cache flush
copy and pasted code does not
always work out for the best.
This makes the code compile.
R=dsinclair@chromium.org
Bug:736695
Change-Id: I41474fef629813fd21a5f52e5c7954329b7b2a64
Reviewed-on: https://pdfium-review.googlesource.com/8330
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk')
-rw-r--r-- | fpdfsdk/fpdf_progressive.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fpdfsdk/fpdf_progressive.cpp b/fpdfsdk/fpdf_progressive.cpp index 7bb4f7b0ed..abddcd43ad 100644 --- a/fpdfsdk/fpdf_progressive.cpp +++ b/fpdfsdk/fpdf_progressive.cpp @@ -85,8 +85,9 @@ DLLEXPORT int STDCALL FPDF_RenderPage_Continue(FPDF_PAGE page, IFSDK_PAUSE_Adapter IPauseAdapter(pause); pContext->m_pRenderer->Continue(&IPauseAdapter); #ifdef _SKIA_SUPPORT_PATHS_ + CFX_RenderDevice* pDevice = pContext->m_pDevice.get(); pDevice->Flush(); - pBitmap->UnPreMultiply(); + pDevice->GetBitmap()->UnPreMultiply(); #endif return CPDF_ProgressiveRenderer::ToFPDFStatus( pContext->m_pRenderer->GetStatus()); |