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: |