Index: Source/web/WebFontImpl.cpp |
diff --git a/Source/web/WebFontImpl.cpp b/Source/web/WebFontImpl.cpp |
index 6411355fe47dc1591c2a559bf9a12d0d873ccac9..3486dd1cc676846fffb1539787858ed82870eb84 100644 |
--- a/Source/web/WebFontImpl.cpp |
+++ b/Source/web/WebFontImpl.cpp |
@@ -99,9 +99,9 @@ void WebFontImpl::drawText(WebCanvas* canvas, const WebTextRun& run, const WebFl |
SkPictureBuilder pictureBuilder(intRect); |
GraphicsContext* context = &pictureBuilder.context(); |
+ ASSERT(!DrawingRecorder::useCachedDrawingIfPossible(*context, *this, DisplayItem::WebFont)); |
{ |
DrawingRecorder drawingRecorder(*context, *this, DisplayItem::WebFont, intRect); |
- ASSERT(!drawingRecorder.canUseCachedDrawing()); |
context->save(); |
context->setFillColor(color); |
context->clip(textClipRect); |