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 84646ff8826a6c1a756ae0b580b3e25571219be7..4c5fcbf839fd37bd5ce60f31b8e10df602bd1cd1 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -310,7 +310,7 @@ class ChromePrintContext : public PrintContext { |
builder.context().setPrinting(true); |
float scale = spoolPage(builder, pageNumber); |
- canvas->drawPicture(builder.endRecording()); |
+ canvas->PlaybackPaintRecord(builder.endRecording()); |
return scale; |
} |
@@ -377,7 +377,7 @@ class ChromePrintContext : public PrintContext { |
currentHeight += pageSizeInPixels.height() + 1; |
} |
} |
- canvas->drawPicture(builder.endRecording()); |
+ canvas->PlaybackPaintRecord(builder.endRecording()); |
} |
protected: |