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

Unified Diff: third_party/WebKit/Source/platform/exported/WebFont.cpp

Issue 2690583002: Make cc/paint have concrete types (Closed)
Patch Set: PaintRecord as typedef, fixup playback calls Created 3 years, 9 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
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 {

Powered by Google App Engine
This is Rietveld 408576698