summaryrefslogtreecommitdiff
path: root/core/include
diff options
context:
space:
mode:
authorOliver Chang <ochang@chromium.org>2015-12-14 15:06:09 -0800
committerOliver Chang <ochang@chromium.org>2015-12-14 15:06:09 -0800
commitd847c55b4b032e7b57685d6736b0940ea06cd668 (patch)
treefb1dbe45180864fe95612414bb7302978bd1b9b5 /core/include
parent327f71ffe3ed5b9fef1d34f05324c068aee7714d (diff)
downloadpdfium-d847c55b4b032e7b57685d6736b0940ea06cd668.tar.xz
Merge to XFA: Properly land "Fix hint table loading issues."
R=thestig@chromium.org TBR=thestig@chromium.org BUG=566179 Original Review URL: https://codereview.chromium.org/1524983002 . (cherry picked from commit 1eb7477b3e7c5cb7c54ca364810ab9a24acad4f9) Review URL: https://codereview.chromium.org/1525793003 .
Diffstat (limited to 'core/include')
-rw-r--r--core/include/fxcrt/fx_basic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/include/fxcrt/fx_basic.h b/core/include/fxcrt/fx_basic.h
index c21a4f54c5..d5673271e6 100644
--- a/core/include/fxcrt/fx_basic.h
+++ b/core/include/fxcrt/fx_basic.h
@@ -916,9 +916,9 @@ class CFX_BitStream {
void Rewind() { m_BitPos = 0; }
- FX_DWORD GetPos() { return m_BitPos; }
+ FX_DWORD GetPos() const { return m_BitPos; }
- FX_DWORD BitsRemaining() {
+ FX_DWORD BitsRemaining() const {
return m_BitSize >= m_BitPos ? m_BitSize - m_BitPos : 0;
}