| Index: cc/output/software_renderer.cc
|
| diff --git a/cc/output/software_renderer.cc b/cc/output/software_renderer.cc
|
| index 1b18648e115cb92efc48350704422c280b15e8ee..9543e0afea429bc18f405eb419ae8e70e37f3723 100644
|
| --- a/cc/output/software_renderer.cc
|
| +++ b/cc/output/software_renderer.cc
|
| @@ -183,7 +183,8 @@ void SoftwareRenderer::SetClipRect(const gfx::Rect& rect) {
|
| // Skia applies the current matrix to clip rects so we reset it temporary.
|
| SkMatrix current_matrix = current_canvas_->getTotalMatrix();
|
| current_canvas_->resetMatrix();
|
| - current_canvas_->clipRect(gfx::RectToSkRect(rect), SkRegion::kReplace_Op);
|
| + current_canvas_->legacyClipRect(gfx::RectToSkRect(rect),
|
| + SkRegion::kReplace_Op);
|
| current_canvas_->setMatrix(current_matrix);
|
| }
|
|
|
|
|