diff options
Diffstat (limited to 'core/fpdfapi')
-rw-r--r-- | core/fpdfapi/page/cpdf_streamcontentparser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/page/cpdf_streamcontentparser.cpp b/core/fpdfapi/page/cpdf_streamcontentparser.cpp index 1e6bf6c3c8..ca92b9efdf 100644 --- a/core/fpdfapi/page/cpdf_streamcontentparser.cpp +++ b/core/fpdfapi/page/cpdf_streamcontentparser.cpp @@ -114,9 +114,9 @@ CFX_FloatRect GetShadingBBox(CPDF_ShadingPattern* pShading, break; CFX_PointF origin = stream.ReadCoords(); if (bStarted) { - rect.UpdateRect(origin.x, origin.y); + rect.UpdateRect(origin); } else { - rect.InitRect(origin.x, origin.y); + rect.InitRect(origin); bStarted = true; } } |