diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-02-15 11:38:06 -0500 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-02-15 17:04:23 +0000 |
commit | eb55885e9a9eec670ed98cbd12dc96d63e6a6623 (patch) | |
tree | 44a43399b639073b30a5dc9ca342445138b1343c /core/fxcrt/fx_basic_coords.cpp | |
parent | 49058400ea8ddf753010dc73e7d381b7a35993ae (diff) | |
download | pdfium-eb55885e9a9eec670ed98cbd12dc96d63e6a6623.tar.xz |
Remove unused FX_RECT methods
These methods aren't used, removed.
Change-Id: Iac298cbfe2cc46dd0358f591f1d7f44494a779c0
Reviewed-on: https://pdfium-review.googlesource.com/2714
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'core/fxcrt/fx_basic_coords.cpp')
-rw-r--r-- | core/fxcrt/fx_basic_coords.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/core/fxcrt/fx_basic_coords.cpp b/core/fxcrt/fx_basic_coords.cpp index 0567fa76c5..0785c7821b 100644 --- a/core/fxcrt/fx_basic_coords.cpp +++ b/core/fxcrt/fx_basic_coords.cpp @@ -50,15 +50,7 @@ void FX_RECT::Intersect(const FX_RECT& src) { left = top = right = bottom = 0; } } -void FX_RECT::Union(const FX_RECT& other_rect) { - Normalize(); - FX_RECT other = other_rect; - other.Normalize(); - left = left < other.left ? left : other.left; - right = right > other.right ? right : other.right; - bottom = bottom > other.bottom ? bottom : other.bottom; - top = top < other.top ? top : other.top; -} + bool GetIntersection(FX_FLOAT low1, FX_FLOAT high1, FX_FLOAT low2, |