| Index: core/fpdfapi/fpdf_page/cpdf_pathobject.cpp
|
| diff --git a/core/fpdfapi/fpdf_page/cpdf_pathobject.cpp b/core/fpdfapi/fpdf_page/cpdf_pathobject.cpp
|
| index 0055d6a1332080d012ded43a8c1cccffe780df5e..946d934edb87680aa455d9e27eaa3f6549d00ce3 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.GetObject()->m_LineWidth;
|
| + FX_FLOAT width = m_GraphState.GetLineWidth();
|
| if (m_bStroke && width != 0) {
|
| - rect = m_Path.GetBoundingBox(width, m_GraphState.GetObject()->m_MiterLimit);
|
| + rect = m_Path.GetBoundingBox(width, m_GraphState.GetMiterLimit());
|
| } else {
|
| rect = m_Path.GetBoundingBox();
|
| }
|
|
|