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 79d73518a18c1235fbb62b0b14ae1342cc2c5783..2e642bed1ee1c16e825fce2e589ac05a1d169680 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; |
} |