Index: third_party/WebKit/Source/platform/exported/WebFont.cpp |
diff --git a/third_party/WebKit/Source/platform/exported/WebFont.cpp b/third_party/WebKit/Source/platform/exported/WebFont.cpp |
index 2899dd5bdfc423060dce1655f4f3d9e05765ae0f..caa24c41236da059fc46b127fa68b8eee175245c 100644 |
--- a/third_party/WebKit/Source/platform/exported/WebFont.cpp |
+++ b/third_party/WebKit/Source/platform/exported/WebFont.cpp |
@@ -101,7 +101,7 @@ void WebFont::drawText(WebCanvas* canvas, |
context.restore(); |
} |
- builder.endRecording()->playback(canvas); |
+ canvas->drawPicture(builder.endRecording()); |
} |
int WebFont::calculateWidth(const WebTextRun& run) const { |