Fix cc/paint skia type mismatches
https://codereview.chromium.org/2717943002
This commit is contained in:
parent
adddff3ee2
commit
567646e624
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ float PrintWebViewHelper::RenderPageContent(blink::WebFrame* frame,
|
|||
const gfx::Rect& content_area,
|
||||
double scale_factor,
|
||||
blink::WebCanvas* canvas) {
|
||||
SkAutoCanvasRestore auto_restore(canvas, true);
|
||||
cc::PaintCanvasAutoRestore auto_restore(canvas, true);
|
||||
canvas->translate((content_area.x() - canvas_area.x()) / scale_factor,
|
||||
(content_area.y() - canvas_area.y()) / scale_factor);
|
||||
return frame->PrintPage(page_number, canvas);
|
||||
|
|
Loading…
Reference in a new issue