summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-03-16 11:47:20 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-03-16 18:21:03 +0000
commite533b93601c7e9eb328619681a78c188d1a89191 (patch)
tree0e3741cec1296a39e478c67eeac3ecc9c000fc24 /core
parentc9819a972830e9d1210d9d8f5c81d9f03f7c90a9 (diff)
downloadpdfium-e533b93601c7e9eb328619681a78c188d1a89191.tar.xz
Create common base class for TxtBreak and RTFBreak.
This CL starts extracting common members between the two break classes into a common base class. This also normalizes some of the member names to be the same across classes. Change-Id: I7f4e5065f2dac79eb4ebba397458236cc0609d38 Reviewed-on: https://pdfium-review.googlesource.com/3058 Reviewed-by: Nicolás Peña <npm@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core')
-rw-r--r--core/fxcrt/cfx_char.cpp2
-rw-r--r--core/fxcrt/cfx_char.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/core/fxcrt/cfx_char.cpp b/core/fxcrt/cfx_char.cpp
index ab7abd9884..b23ae078cd 100644
--- a/core/fxcrt/cfx_char.cpp
+++ b/core/fxcrt/cfx_char.cpp
@@ -20,7 +20,6 @@ CFX_Char::CFX_Char()
m_iBidiOrder(0),
m_wCharCode(0),
m_iFontSize(0),
- m_iFontHeight(0),
m_dwIdentity(0),
m_pUserData(nullptr) {}
@@ -37,7 +36,6 @@ CFX_Char::CFX_Char(uint16_t wCharCode, uint32_t dwCharProps)
m_iBidiOrder(0),
m_wCharCode(wCharCode),
m_iFontSize(0),
- m_iFontHeight(0),
m_dwIdentity(0),
m_pUserData(nullptr) {}
diff --git a/core/fxcrt/cfx_char.h b/core/fxcrt/cfx_char.h
index bc91c91386..cd0166feb2 100644
--- a/core/fxcrt/cfx_char.h
+++ b/core/fxcrt/cfx_char.h
@@ -35,7 +35,6 @@ class CFX_Char {
int16_t m_iBidiOrder;
uint16_t m_wCharCode;
int32_t m_iFontSize;
- int32_t m_iFontHeight;
uint32_t m_dwIdentity;
CFX_RetainPtr<CFX_Retainable> m_pUserData;
};