summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-07-20 12:01:21 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-07-20 20:56:41 +0000
commit1a44cb4be8b60b706990cf8113abea6937aa1653 (patch)
tree8b28718a965888f0f1bd59b6c1a508dde6fdb534 /core
parent3f753f20e9c51f7170a616a355b3f9578505c0ee (diff)
downloadpdfium-1a44cb4be8b60b706990cf8113abea6937aa1653.tar.xz
Convert CFX_ListItem to use CFX_FloatRect
The CFX_ListItem never calls the Height() method so doesn't need to use CLST_Rect. This CL removes unused methods from CLST_Rect and CPVT_FloatRect. Change-Id: I82d4f07ec104345e9275ccd838e3c8eed1de7a50 Reviewed-on: https://pdfium-review.googlesource.com/8431 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core')
-rw-r--r--core/fpdfdoc/cpvt_floatrect.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/fpdfdoc/cpvt_floatrect.h b/core/fpdfdoc/cpvt_floatrect.h
index a8b32dc7e5..c5eb2202bb 100644
--- a/core/fpdfdoc/cpvt_floatrect.h
+++ b/core/fpdfdoc/cpvt_floatrect.h
@@ -30,8 +30,6 @@ class CPVT_FloatRect : public CFX_FloatRect {
bottom = rect.bottom;
}
- void Default() { left = top = right = bottom = 0.0f; }
-
float Height() const {
if (top > bottom)
return top - bottom;