summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/fpdf_progressive.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-11-20 09:39:49 -0800
committerTom Sepez <tsepez@chromium.org>2015-11-20 09:39:49 -0800
commitbd716fcf89f38bb82eb97ae73e9af60c2232328e (patch)
tree265fd408ab60a6ee2824b949eff048b97e6e23d8 /fpdfsdk/src/fpdf_progressive.cpp
parent3ccd36892fe826e8f2ed8dde0819756ae3546733 (diff)
downloadpdfium-bd716fcf89f38bb82eb97ae73e9af60c2232328e.tar.xz
Update master fpdfsdk to match XFA
R=thestig@chromium.org Review URL: https://codereview.chromium.org/1458853005 .
Diffstat (limited to 'fpdfsdk/src/fpdf_progressive.cpp')
-rw-r--r--fpdfsdk/src/fpdf_progressive.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/src/fpdf_progressive.cpp b/fpdfsdk/src/fpdf_progressive.cpp
index fdb9e20555..b6fd8e071e 100644
--- a/fpdfsdk/src/fpdf_progressive.cpp
+++ b/fpdfsdk/src/fpdf_progressive.cpp
@@ -59,10 +59,10 @@ DLLEXPORT int STDCALL FPDF_RenderPageBitmap_Start(FPDF_BITMAP bitmap,
FPDF_RenderPage_Retail(pContext, page, start_x, start_y, size_x, size_y,
rotate, flags, FALSE, &IPauseAdapter);
- if (pContext->m_pRenderer)
+ if (pContext->m_pRenderer) {
return CPDF_ProgressiveRenderer::ToFPDFStatus(
pContext->m_pRenderer->GetStatus());
-
+ }
return FPDF_RENDER_FAILED;
}