Index: core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp |
diff --git a/core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp b/core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp |
index 72719d36188d8d44404febf1f389f9ba12ff14b9..7093edae4797ee4aef7568d283c8cac2cf49e93f 100644 |
--- a/core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp |
+++ b/core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp |
@@ -238,7 +238,7 @@ FX_BOOL CPDF_DIBSource::Load(CPDF_Document* pDoc, const CPDF_Stream* pStream, CP |
if (m_bColorKey) { |
m_bpp = 32; |
m_AlphaFlag = 2; |
- FX_SAFE_DWORD pitch = CalculatePitch32(m_bpp, m_Width); |
+ pitch = CalculatePitch32(m_bpp, m_Width); |
if (!pitch.IsValid()) { |
return FALSE; |
} |
@@ -282,7 +282,7 @@ int CPDF_DIBSource::ContinueToLoadMask() |
if (m_bColorKey) { |
m_bpp = 32; |
m_AlphaFlag = 2; |
- FX_SAFE_DWORD pitch = CalculatePitch32(m_bpp, m_Width); |
+ pitch = CalculatePitch32(m_bpp, m_Width); |
if (!pitch.IsValid()) { |
return 0; |
} |