| Index: Source/platform/graphics/GraphicsContext.cpp
|
| diff --git a/Source/platform/graphics/GraphicsContext.cpp b/Source/platform/graphics/GraphicsContext.cpp
|
| index 1d68a43ecdfbf565a4f404c8082bdcfe82d91fa6..86af023f8fd83e018fc8c35c1efcd3b58e1bf44e 100644
|
| --- a/Source/platform/graphics/GraphicsContext.cpp
|
| +++ b/Source/platform/graphics/GraphicsContext.cpp
|
| @@ -943,6 +943,14 @@ void GraphicsContext::drawRect(const IntRect& rect)
|
| }
|
| }
|
|
|
| +void GraphicsContext::drawText(const Font& font, const TextRunPaintInfo& runInfo, const FloatPoint& point, const SkPaint& paint)
|
| +{
|
| + if (contextDisabled())
|
| + return;
|
| +
|
| + font.drawText(m_canvas, runInfo, point, m_deviceScaleFactor, paint);
|
| +}
|
| +
|
| template<typename DrawTextFunc>
|
| void GraphicsContext::drawTextPasses(const DrawTextFunc& drawText)
|
| {
|
|
|