summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/csection.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-10-05 15:48:39 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-10-05 20:03:35 +0000
commitd103b96635a27abf93cb1a9a476c9263603bd203 (patch)
tree5c0ce568bc870f7b9f3e55ce45c0c9574bbb537d /core/fpdfdoc/csection.h
parentb7f9d8ee6d9c1d9c0dfa2c64b7ad5fee4032d513 (diff)
downloadpdfium-d103b96635a27abf93cb1a9a476c9263603bd203.tar.xz
Remove CPVT_SectionInfo
The CPVT_SectionInfo class only contains a CPVT_FloatRect member. This CL removes the usage of CPVT_SectionInfo and uses the CPVT_FloatRect where needed instead. Change-Id: Ica020466db03282cf2ad9a7051899d74f8aef076 Reviewed-on: https://pdfium-review.googlesource.com/15730 Commit-Queue: dsinclair <dsinclair@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fpdfdoc/csection.h')
-rw-r--r--core/fpdfdoc/csection.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/fpdfdoc/csection.h b/core/fpdfdoc/csection.h
index d516c45e6f..a8ade8624f 100644
--- a/core/fpdfdoc/csection.h
+++ b/core/fpdfdoc/csection.h
@@ -11,7 +11,6 @@
#include <vector>
#include "core/fpdfdoc/cline.h"
-#include "core/fpdfdoc/cpvt_sectioninfo.h"
#include "core/fpdfdoc/cpvt_wordinfo.h"
#include "core/fpdfdoc/cpvt_wordrange.h"
#include "core/fpdfdoc/ctypeset.h"
@@ -48,7 +47,7 @@ class CSection final {
CPVT_WordPlace SearchWordPlace(float fx, const CPVT_WordRange& range) const;
CPVT_WordPlace SecPlace;
- CPVT_SectionInfo m_SecInfo;
+ CPVT_FloatRect m_Rect;
std::vector<std::unique_ptr<CLine>> m_LineArray;
std::vector<std::unique_ptr<CPVT_WordInfo>> m_WordArray;