Index: fpdfsdk/fpdf_progressive.cpp |
diff --git a/fpdfsdk/fpdf_progressive.cpp b/fpdfsdk/fpdf_progressive.cpp |
index 1450f8e74b2b3d2818f014b82bfd9da23b554bc3..d42d954bb9f0c2c6979a4620b7aeccefea113f44 100644 |
--- a/fpdfsdk/fpdf_progressive.cpp |
+++ b/fpdfsdk/fpdf_progressive.cpp |
@@ -41,21 +41,12 @@ DLLEXPORT int STDCALL FPDF_RenderPageBitmap_Start(FPDF_BITMAP bitmap, |
CRenderContext* pContext = new CRenderContext; |
pPage->SetPrivateData((void*)1, pContext, DropContext); |
-#ifdef _SKIA_SUPPORT_ |
- pContext->m_pDevice = new CFX_SkiaDevice; |
- if (flags & FPDF_REVERSE_BYTE_ORDER) |
- ((CFX_SkiaDevice*)pContext->m_pDevice) |
- ->Attach((CFX_DIBitmap*)bitmap, 0, TRUE); |
- else |
- ((CFX_SkiaDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap); |
-#else |
pContext->m_pDevice = new CFX_FxgeDevice; |
if (flags & FPDF_REVERSE_BYTE_ORDER) |
((CFX_FxgeDevice*)pContext->m_pDevice) |
->Attach((CFX_DIBitmap*)bitmap, 0, TRUE); |
else |
((CFX_FxgeDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap); |
-#endif |
IFSDK_PAUSE_Adapter IPauseAdapter(pause); |
FPDF_RenderPage_Retail(pContext, page, start_x, start_y, size_x, size_y, |