summaryrefslogtreecommitdiff
path: root/xfa/fgas/layout/cfx_break.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-03-20 14:51:17 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-03-20 20:07:50 +0000
commit2a6482c19c5577924f73d100431acceb8c874e04 (patch)
treeed4fa39ebb58301bdcfb1670c5208bbdb8e1d36c /xfa/fgas/layout/cfx_break.h
parent35292ad2070aa3cabdef4ea23ffaaf38e1a7de3a (diff)
downloadpdfium-2a6482c19c5577924f73d100431acceb8c874e04.tar.xz
Cleanup unchanged values in CFX_TxtBreak
This Cl cleans up some members which are always the same value. Change-Id: Ic3feeb5cd8c8a8c3de5a7d6ec3628d32efc600ef Reviewed-on: https://pdfium-review.googlesource.com/3107 Reviewed-by: Nicolás Peña <npm@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fgas/layout/cfx_break.h')
-rw-r--r--xfa/fgas/layout/cfx_break.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/xfa/fgas/layout/cfx_break.h b/xfa/fgas/layout/cfx_break.h
index d1bbde0682..631cc5aaa1 100644
--- a/xfa/fgas/layout/cfx_break.h
+++ b/xfa/fgas/layout/cfx_break.h
@@ -32,6 +32,8 @@ class CFX_Break {
public:
virtual ~CFX_Break();
+ void Reset();
+
void SetLayoutStyles(uint32_t dwLayoutStyles);
uint32_t GetLayoutStyles() const { return m_dwLayoutStyles; }
@@ -49,7 +51,6 @@ class CFX_Break {
void SetDefaultChar(wchar_t wch);
virtual void SetBreakStatus() = 0;
- virtual void ResetArabicContext() {}
protected:
explicit CFX_Break(uint32_t dwLayoutStyles);