summaryrefslogtreecommitdiff
path: root/core/include/fxge
diff options
context:
space:
mode:
authorOliver Chang <ochang@chromium.org>2016-01-29 18:32:02 -0800
committerOliver Chang <ochang@chromium.org>2016-01-29 18:32:02 -0800
commit57123944df5d7388036f70ef164a103b67dc9258 (patch)
tree8469e1888e91eed630d122f62fbbc03832e840b9 /core/include/fxge
parent8f952279866afb647b7098c0cbdc25e35e8c0531 (diff)
downloadpdfium-57123944df5d7388036f70ef164a103b67dc9258.tar.xz
Merge to XFA: 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... TBR=thestig@chromium.org Original Review URL: https://codereview.chromium.org/1644403003 . (cherry picked from commit 487935f662ba4711caf1c2c06873b676fd3fba3e) Review URL: https://codereview.chromium.org/1649243002 .
Diffstat (limited to 'core/include/fxge')
-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; }