diff options
author | Lei Zhang <thestig@chromium.org> | 2017-12-19 19:00:43 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-12-19 19:00:43 +0000 |
commit | 58c2c144c5ac6a7397573d2f25d1ba9c79bc4f15 (patch) | |
tree | 438cd4c32e367e1433d5e5f01896984d564f67c2 /core/fxcrt/fx_coordinates.cpp | |
parent | 9ccf08746e57a03fd9afc187cb3e23404cdc88bb (diff) | |
download | pdfium-58c2c144c5ac6a7397573d2f25d1ba9c79bc4f15.tar.xz |
Remove some dead code.
Change-Id: I8edb14c024860c66b5e6c014136393e71e38387d
Reviewed-on: https://pdfium-review.googlesource.com/21570
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxcrt/fx_coordinates.cpp')
-rw-r--r-- | core/fxcrt/fx_coordinates.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/fxcrt/fx_coordinates.cpp b/core/fxcrt/fx_coordinates.cpp index 733425ef26..db4bea945f 100644 --- a/core/fxcrt/fx_coordinates.cpp +++ b/core/fxcrt/fx_coordinates.cpp @@ -313,12 +313,6 @@ float CFX_Matrix::TransformXDistance(float dx) const { return sqrt(fx * fx + fy * fy); } -float CFX_Matrix::TransformDistance(float dx, float dy) const { - float fx = a * dx + c * dy; - float fy = b * dx + d * dy; - return sqrt(fx * fx + fy * fy); -} - float CFX_Matrix::TransformDistance(float distance) const { return distance * (GetXUnit() + GetYUnit()) / 2; } |