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

Unified Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.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
« no previous file with comments | « third_party/WebKit/Source/web/PageWidgetDelegate.cpp ('k') | ui/gfx/paint_vector_icon_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
index cb38d4bac6eddaab09f30c0080a9bf208f8f4848..368ca0b1c8e329ac1e5229192e40f82df7c2cf15 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -307,7 +307,7 @@ class ChromePrintContext : public PrintContext {
builder.context().setPrinting(true);
float scale = spoolPage(builder, pageNumber);
- builder.endRecording()->playback(canvas);
+ canvas->drawPicture(builder.endRecording());
return scale;
}
@@ -374,7 +374,7 @@ class ChromePrintContext : public PrintContext {
currentHeight += pageSizeInPixels.height() + 1;
}
}
- builder.endRecording()->playback(canvas);
+ canvas->drawPicture(builder.endRecording());
}
protected:
« no previous file with comments | « third_party/WebKit/Source/web/PageWidgetDelegate.cpp ('k') | ui/gfx/paint_vector_icon_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698