summaryrefslogtreecommitdiff
path: root/core/fxcrt/include/fx_basic.h
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-05-20 11:50:06 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-20 11:50:06 -0700
commit1b99b2dcde9d8bf1a5944a7e0dac81ca33459af5 (patch)
tree50ce9fbd5fadac593fc0af976de6841e55e22fdf /core/fxcrt/include/fx_basic.h
parent3cbb6fbcc7077d94161ec95b7bc1421671317c65 (diff)
downloadpdfium-1b99b2dcde9d8bf1a5944a7e0dac81ca33459af5.tar.xz
Merge GetBits32() impls into one. Put it in fxcrt.
Review-Url: https://codereview.chromium.org/1990153003
Diffstat (limited to 'core/fxcrt/include/fx_basic.h')
-rw-r--r--core/fxcrt/include/fx_basic.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/fxcrt/include/fx_basic.h b/core/fxcrt/include/fx_basic.h
index 7fdfbf699d..d3dce8c749 100644
--- a/core/fxcrt/include/fx_basic.h
+++ b/core/fxcrt/include/fx_basic.h
@@ -178,7 +178,7 @@ class CFX_UTF8Encoder {
class CFX_BasicArray {
protected:
- CFX_BasicArray(int unit_size);
+ explicit CFX_BasicArray(int unit_size);
CFX_BasicArray(const CFX_BasicArray&) = delete;
~CFX_BasicArray();
@@ -972,4 +972,6 @@ class CFX_Matrix_3by3 {
FX_FLOAT i;
};
+uint32_t GetBits32(const uint8_t* pData, int bitpos, int nbits);
+
#endif // CORE_FXCRT_INCLUDE_FX_BASIC_H_