summaryrefslogtreecommitdiff
path: root/core/fxcodec/lbmp/fx_bmp.h
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2017-10-02 16:04:37 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-10-02 20:21:08 +0000
commitc2ae41abd16aef062fee878160aa18457d2118a7 (patch)
treef22a07d4e976168885260ffef959d149e2fb71b5 /core/fxcodec/lbmp/fx_bmp.h
parent951b1119d4c7487364bee4c5124b36453e00130d (diff)
downloadpdfium-c2ae41abd16aef062fee878160aa18457d2118a7.tar.xz
Replace GetWord_LSBFirst with FXWORD_GET_LSBFIRSTchromium/3231
The existing implementation of a LSB first word method was incorrect, in addition it was implemented to the BMP code, but also used in the GIF code. Thus is should be moved to a common location. Also added in an implementation for FXWORD_GET_MSBFIRST, since the GIF code will need this. BUG=pdfium:914 Change-Id: I0e84813356fbd456b293a190da3c2cde01a6580b Reviewed-on: https://pdfium-review.googlesource.com/15210 Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fxcodec/lbmp/fx_bmp.h')
-rw-r--r--core/fxcodec/lbmp/fx_bmp.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/fxcodec/lbmp/fx_bmp.h b/core/fxcodec/lbmp/fx_bmp.h
index 1dfbcc1410..9dfa849939 100644
--- a/core/fxcodec/lbmp/fx_bmp.h
+++ b/core/fxcodec/lbmp/fx_bmp.h
@@ -133,6 +133,4 @@ class CBmpContext : public CCodec_BmpModule::Context {
UnownedPtr<CCodec_BmpModule::Delegate> const m_pDelegate;
};
-uint16_t GetWord_LSBFirst(uint8_t* p);
-
#endif // CORE_FXCODEC_LBMP_FX_BMP_H_