summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp b/core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp
index a2d4d4f125..0584e7be48 100644
--- a/core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp
+++ b/core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp
@@ -223,10 +223,11 @@ void CPDF_PageContentGenerator::ProcessPath(std::ostringstream* buf,
if (i > 0)
*buf << " ";
- char buffer[kMaximumSkFloatToDecimalLength];
- unsigned size = SkFloatToDecimal(pPoints[i].m_Point.x, buffer);
+ char buffer[pdfium::skia::kMaximumSkFloatToDecimalLength];
+ unsigned size =
+ pdfium::skia::SkFloatToDecimal(pPoints[i].m_Point.x, buffer);
buf->write(buffer, size) << " ";
- size = SkFloatToDecimal(pPoints[i].m_Point.y, buffer);
+ size = pdfium::skia::SkFloatToDecimal(pPoints[i].m_Point.y, buffer);
buf->write(buffer, size);
FXPT_TYPE pointType = pPoints[i].m_Type;