diff options
author | Lei Zhang <thestig@chromium.org> | 2018-04-10 19:29:25 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-10 19:29:25 +0000 |
commit | 7d865b611bf5b029723ec3143180d23c95c907e8 (patch) | |
tree | c9e01b101f39d11520385cdd0f005cd4b01a9794 /xfa/fxgraphics | |
parent | e5c3ebd923a21c6c82bd214ca27a5d7396b852c2 (diff) | |
download | pdfium-7d865b611bf5b029723ec3143180d23c95c907e8.tar.xz |
Remove CFX_Rect.
It is rarely used and FX_RECT is the more common integer rect type.
Change-Id: I7c5b875321c2d587becedcd058bb3a57fd1f0b61
Reviewed-on: https://pdfium-review.googlesource.com/30053
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'xfa/fxgraphics')
-rw-r--r-- | xfa/fxgraphics/cxfa_graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxgraphics/cxfa_graphics.cpp b/xfa/fxgraphics/cxfa_graphics.cpp index b13ecc060d..ae1e04acca 100644 --- a/xfa/fxgraphics/cxfa_graphics.cpp +++ b/xfa/fxgraphics/cxfa_graphics.cpp @@ -214,7 +214,7 @@ CFX_RectF CXFA_Graphics::GetClipRect() const { return CFX_RectF(); FX_RECT r = m_renderDevice->GetClipBox(); - return CFX_Rect(r.left, r.top, r.Width(), r.Height()).As<float>(); + return CFX_RectF(r.left, r.top, r.Width(), r.Height()); } void CXFA_Graphics::SetClipRect(const CFX_RectF& rect) { |