diff options
author | tsepez <tsepez@chromium.org> | 2016-08-29 14:26:57 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-29 14:26:57 -0700 |
commit | 596014357f7cd9ee3245ba8ed52cbc5761151727 (patch) | |
tree | dc03386fe63a4d9d7484418c10c18f20fb1708f0 /core/fpdfapi/fpdf_page/cpdf_pathobject.cpp | |
parent | adbd32950006075fc04ff2cbb01bf3a099f0e010 (diff) | |
download | pdfium-596014357f7cd9ee3245ba8ed52cbc5761151727.tar.xz |
Revert "Replace wrapper methods in CPDF_Path with -> operator."
This reverts commit d09a09751f724ecdb1a0bc307447a3d0c212ebff.
TBR=dsinclair@chromium.org
Review-Url: https://codereview.chromium.org/2291833002
Diffstat (limited to 'core/fpdfapi/fpdf_page/cpdf_pathobject.cpp')
-rw-r--r-- | core/fpdfapi/fpdf_page/cpdf_pathobject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/fpdf_page/cpdf_pathobject.cpp b/core/fpdfapi/fpdf_page/cpdf_pathobject.cpp index d48c84bf4a..ceb3dd43cc 100644 --- a/core/fpdfapi/fpdf_page/cpdf_pathobject.cpp +++ b/core/fpdfapi/fpdf_page/cpdf_pathobject.cpp @@ -48,9 +48,9 @@ void CPDF_PathObject::CalcBoundingBox() { CFX_FloatRect rect; FX_FLOAT width = m_GraphState->m_LineWidth; if (m_bStroke && width != 0) { - rect = m_Path->GetBoundingBox(width, m_GraphState->m_MiterLimit); + rect = m_Path.GetBoundingBox(width, m_GraphState->m_MiterLimit); } else { - rect = m_Path->GetBoundingBox(); + rect = m_Path.GetBoundingBox(); } rect.Transform(&m_Matrix); if (width == 0 && m_bStroke) { |