summaryrefslogtreecommitdiff
path: root/fpdfsdk/pdfwindow/cpwl_utils.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-07-13 13:39:34 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-07-13 17:55:25 +0000
commit469186a47d6ac939acbd80754ed9be5c085bdc22 (patch)
tree759d491eb8ab13a8e41a229b53f25c7bfccc30c1 /fpdfsdk/pdfwindow/cpwl_utils.h
parent8db114ab60439f6d598ec68aa629f4385a532a92 (diff)
downloadpdfium-469186a47d6ac939acbd80754ed9be5c085bdc22.tar.xz
Move CPWL_Utils::GetCenterSquare to CFX_FloatRect
This method is working on the FloatRect content so move it to CFX_FloatRect. Change-Id: I60aabf6e3b86aa9acc59f86cff69347ec5fe5033 Reviewed-on: https://pdfium-review.googlesource.com/7712 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/pdfwindow/cpwl_utils.h')
-rw-r--r--fpdfsdk/pdfwindow/cpwl_utils.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fpdfsdk/pdfwindow/cpwl_utils.h b/fpdfsdk/pdfwindow/cpwl_utils.h
index b0caf0b386..df364c7f56 100644
--- a/fpdfsdk/pdfwindow/cpwl_utils.h
+++ b/fpdfsdk/pdfwindow/cpwl_utils.h
@@ -34,7 +34,6 @@ class CPWL_Utils {
public:
static CPVT_WordRange OverlapWordRange(const CPVT_WordRange& wr1,
const CPVT_WordRange& wr2);
- static CFX_FloatRect GetCenterSquare(const CFX_FloatRect& rect);
static CFX_ByteString GetColorAppStream(const CPWL_Color& color,
const bool& bFillOrStroke = true);