diff options
author | Jun Fang <jun_fang@foxitsoftware.com> | 2014-09-29 14:42:36 -0700 |
---|---|---|
committer | Jun Fang <jun_fang@foxitsoftware.com> | 2014-09-29 14:42:36 -0700 |
commit | 1922dd8838d25d16fd94ce3a5f3f6f607cb6b8b9 (patch) | |
tree | 801039148f5d68a8be0ac0178273fed76adaa965 | |
parent | 0f4a4e8d744ee16e8ea4514638034d0031b72ed4 (diff) | |
download | pdfium-chromium/2125.tar.xz |
Removed obsolete code to fix a compiling issue in ebd58e7chromium/2125
-rw-r--r-- | core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp b/core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp index 4f619da961..1669710a5a 100644 --- a/core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp +++ b/core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp @@ -1354,9 +1354,6 @@ void CPDF_Color::SetValue(CPDF_Pattern* pPattern, FX_FLOAT* comps, int ncomps) } pvalue->m_nComps = ncomps; pvalue->m_pPattern = pPattern; - if (pPattern) { - pPattern->SaveColor(this); - } if (ncomps) { FXSYS_memcpy32(pvalue->m_Comps, comps, ncomps * sizeof(FX_FLOAT)); } |