Index: cc/output/software_renderer.cc |
diff --git a/cc/output/software_renderer.cc b/cc/output/software_renderer.cc |
index 3bc892bf409b94faf054ba806512f4f86198e838..009a8adff467becfa0b5057e80d50ea1e3cc81c7 100644 |
--- a/cc/output/software_renderer.cc |
+++ b/cc/output/software_renderer.cc |
@@ -145,7 +145,9 @@ 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), SkClipOp::kReplace); |
+ // TODO(fmalita) stop using kReplace (see crbug.com/673851) |
+ current_canvas_->clipRect(gfx::RectToSkRect(rect), |
+ SkClipOp::kReplace_private_internal_do_not_use); |
current_canvas_->setMatrix(current_matrix); |
} |