summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpvt_wordinfo.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-10-05 15:12:58 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-10-05 19:31:08 +0000
commitce813f82c914ad560e429a0685553b1e3e8797ac (patch)
tree7410dfd203edbaeca8989566143ac166a6fb5ce0 /core/fpdfdoc/cpvt_wordinfo.h
parent480ca10f7a20dd65921dcec046d91b503f3599c3 (diff)
downloadpdfium-ce813f82c914ad560e429a0685553b1e3e8797ac.tar.xz
Remove CPVT_WordProps
Only one of the props was being used and that prop always had the same value. This CL removes CPVT_WordProps. Change-Id: I8cf64f0e9b80c5af18b8fc40ef7b602ffeec7f93 Reviewed-on: https://pdfium-review.googlesource.com/15672 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfdoc/cpvt_wordinfo.h')
-rw-r--r--core/fpdfdoc/cpvt_wordinfo.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/core/fpdfdoc/cpvt_wordinfo.h b/core/fpdfdoc/cpvt_wordinfo.h
index 00f5a45e70..9b2ec8a1e5 100644
--- a/core/fpdfdoc/cpvt_wordinfo.h
+++ b/core/fpdfdoc/cpvt_wordinfo.h
@@ -9,15 +9,11 @@
#include <memory>
-#include "core/fpdfdoc/cpvt_wordprops.h"
#include "core/fxcrt/fx_system.h"
struct CPVT_WordInfo {
CPVT_WordInfo();
- CPVT_WordInfo(uint16_t word,
- int32_t charset,
- int32_t fontIndex,
- CPVT_WordProps* pProps);
+ CPVT_WordInfo(uint16_t word, int32_t charset, int32_t fontIndex);
CPVT_WordInfo(const CPVT_WordInfo& word);
~CPVT_WordInfo();
@@ -29,7 +25,6 @@ struct CPVT_WordInfo {
float fWordY;
float fWordTail;
int32_t nFontIndex;
- std::unique_ptr<CPVT_WordProps> pWordProps;
};
#endif // CORE_FPDFDOC_CPVT_WORDINFO_H_