summaryrefslogtreecommitdiff
path: root/core/fpdfapi/fpdf_page/cpdf_pathobject.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-08-29 14:42:36 -0700
committerCommit bot <commit-bot@chromium.org>2016-08-29 14:42:36 -0700
commitd24c3a60d0e6e5badef57d3baf55e5c3b6d4882e (patch)
tree56abe4fe5e26d4aa18b1921d1f8208065aae0bbd /core/fpdfapi/fpdf_page/cpdf_pathobject.cpp
parent596014357f7cd9ee3245ba8ed52cbc5761151727 (diff)
downloadpdfium-d24c3a60d0e6e5badef57d3baf55e5c3b6d4882e.tar.xz
Revert "Add -> operators to CFX_CountRef."
This reverts commit c10c23a2b1999b1cb0354fd4db9837dc63a3d833. TBR=dsinclair@chromium.org Review-Url: https://codereview.chromium.org/2285283003
Diffstat (limited to 'core/fpdfapi/fpdf_page/cpdf_pathobject.cpp')
-rw-r--r--core/fpdfapi/fpdf_page/cpdf_pathobject.cpp4
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 ceb3dd43cc..0055d6a133 100644
--- a/core/fpdfapi/fpdf_page/cpdf_pathobject.cpp
+++ b/core/fpdfapi/fpdf_page/cpdf_pathobject.cpp
@@ -46,9 +46,9 @@ void CPDF_PathObject::CalcBoundingBox() {
if (!m_Path)
return;
CFX_FloatRect rect;
- FX_FLOAT width = m_GraphState->m_LineWidth;
+ FX_FLOAT width = m_GraphState.GetObject()->m_LineWidth;
if (m_bStroke && width != 0) {
- rect = m_Path.GetBoundingBox(width, m_GraphState->m_MiterLimit);
+ rect = m_Path.GetBoundingBox(width, m_GraphState.GetObject()->m_MiterLimit);
} else {
rect = m_Path.GetBoundingBox();
}