Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1649)

Unified Diff: Source/web/WebFontImpl.cpp

Issue 1169053002: Fix ASSERT(m_checkedCachedDrawing) called by WebFontImpl (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebFontImpl.cpp
diff --git a/Source/web/WebFontImpl.cpp b/Source/web/WebFontImpl.cpp
index 7f2e1027693a8804ab6857933c779f5947c3ed07..6411355fe47dc1591c2a559bf9a12d0d873ccac9 100644
--- a/Source/web/WebFontImpl.cpp
+++ b/Source/web/WebFontImpl.cpp
@@ -101,6 +101,7 @@ void WebFontImpl::drawText(WebCanvas* canvas, const WebTextRun& run, const WebFl
{
DrawingRecorder drawingRecorder(*context, *this, DisplayItem::WebFont, intRect);
+ ASSERT(!drawingRecorder.canUseCachedDrawing());
context->save();
context->setFillColor(color);
context->clip(textClipRect);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698