summaryrefslogtreecommitdiff
path: root/core/include/fxge/fx_dib.h
diff options
context:
space:
mode:
authorOliver Chang <ochang@chromium.org>2016-01-29 18:25:07 -0800
committerOliver Chang <ochang@chromium.org>2016-01-29 18:25:07 -0800
commit487935f662ba4711caf1c2c06873b676fd3fba3e (patch)
treee7f64ea5983425d239de7bb179a00585347b8d04 /core/include/fxge/fx_dib.h
parent9e8185948f7631515951770ca8778f42cc9fd2fc (diff)
downloadpdfium-487935f662ba4711caf1c2c06873b676fd3fba3e.tar.xz
Some cleanup of fpdf_render_loadimage.cpp
- Generalise GetBits8() - Get rid of C-style casts. - Make CFX_DIBSource::SetDownSampleSize() non const. It's only overriden once and called in one place and it doesn't make sense for it to be const. - Get rid of a macro - Make public member vars of CPDF_DIBSource private - And others... R=thestig@chromium.org Review URL: https://codereview.chromium.org/1644403003 .
Diffstat (limited to 'core/include/fxge/fx_dib.h')
-rw-r--r--core/include/fxge/fx_dib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/include/fxge/fx_dib.h b/core/include/fxge/fx_dib.h
index f4f4fd2e6f..3043e7547c 100644
--- a/core/include/fxge/fx_dib.h
+++ b/core/include/fxge/fx_dib.h
@@ -192,7 +192,7 @@ class CFX_DIBSource {
int clip_left,
int clip_width) const = 0;
- virtual void SetDownSampleSize(int width, int height) const {}
+ virtual void SetDownSampleSize(int width, int height) {}
int GetBPP() const { return m_bpp; }