summaryrefslogtreecommitdiff
path: root/core/fxcrt/cfx_wordbreak.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-09-05 16:46:33 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-09-06 13:08:01 +0000
commit555b31faa192c7a85c84979bea28d4914e93c784 (patch)
treead5c7240b1b130cafe740d6c69b89c82afbd7d96 /core/fxcrt/cfx_wordbreak.h
parenta1e87070ac95bb9dba76d7e31ec9ddeb9bc75cd3 (diff)
downloadpdfium-555b31faa192c7a85c84979bea28d4914e93c784.tar.xz
Remove unused CFX_WordBreak::Next methodchromium/3208
CFX_WordBreak::Next is never called, removed. This was the only method to pass a different value for the bFromNext param for FindNextBreakPos() so that param was also removed. Change-Id: I14ca0dc65490ec64209ba0b872794f75b3e3104f Reviewed-on: https://pdfium-review.googlesource.com/13210 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxcrt/cfx_wordbreak.h')
-rw-r--r--core/fxcrt/cfx_wordbreak.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/fxcrt/cfx_wordbreak.h b/core/fxcrt/cfx_wordbreak.h
index 4580c0ce8d..59c071be03 100644
--- a/core/fxcrt/cfx_wordbreak.h
+++ b/core/fxcrt/cfx_wordbreak.h
@@ -22,9 +22,8 @@ class CFX_WordBreak {
int32_t GetWordLength() const;
private:
- bool FindNextBreakPos(IFX_CharIter* pIter, bool bPrev, bool bFromNext);
+ bool FindNextBreakPos(IFX_CharIter* pIter, bool bPrev);
bool IsEOF(bool bTail) const;
- bool Next(bool bPrev);
std::unique_ptr<IFX_CharIter> m_pPreIter;
std::unique_ptr<IFX_CharIter> m_pCurIter;