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

Unified Diff: third_party/WebKit/Source/web/PageWidgetDelegate.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/web/PageWidgetDelegate.cpp
diff --git a/third_party/WebKit/Source/web/PageWidgetDelegate.cpp b/third_party/WebKit/Source/web/PageWidgetDelegate.cpp
index d69ecb805121c41260ca59a27205895fb359384f..27fcf548bf62caa8fb8b4a1393ad661bd3bd67ed 100644
--- a/third_party/WebKit/Source/web/PageWidgetDelegate.cpp
+++ b/third_party/WebKit/Source/web/PageWidgetDelegate.cpp
@@ -96,7 +96,8 @@ static void paintInternal(Page& page,
paintContext.fillRect(dirtyRect, Color::white);
}
}
- builder.endRecording()->playback(canvas);
+
+ canvas->drawPicture(builder.endRecording());
}
void PageWidgetDelegate::paint(Page& page,
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/PaintCanvas.h ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698