X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=WebCore%2Fplatform%2Fgraphics%2Fmac%2FFontMac.mm;h=2dba6133d8fc2666a35d5050f4d87ea345eaf243;hp=b0548a8d688b810b528ec8b39c8e474d00ac339d;hb=101fa257682ee6ed20d58ed1e9301d087ba6f5c1;hpb=36b7d3cee437aa8a00c35a281435f3bc04699e3f diff --git a/WebCore/platform/graphics/mac/FontMac.mm b/WebCore/platform/graphics/mac/FontMac.mm index b0548a8d688b..2dba6133d8fc 100644 --- a/WebCore/platform/graphics/mac/FontMac.mm +++ b/WebCore/platform/graphics/mac/FontMac.mm @@ -517,7 +517,7 @@ void Font::drawComplexText(GraphicsContext* graphicsContext, const TextRun& run, if (run.directionalOverride()) from++; - ATSULayoutParameters params(TextRun(adjustedRun.characters(), adjustedRun.length())); + ATSULayoutParameters params(adjustedRun); params.initialize(this, graphicsContext); // ATSUI can't draw beyond -32768 to +32767 so we translate the CTM and tell ATSUI to draw at (0, 0).