Index: content/renderer/android/synchronous_compositor_proxy.cc |
diff --git a/content/renderer/android/synchronous_compositor_proxy.cc b/content/renderer/android/synchronous_compositor_proxy.cc |
index 99eeeeb2ec4fe1c9156800dab0ed7b6d2fb8ff81..79dd3bd1cadc72a0057edb67a65c9d54bec536e1 100644 |
--- a/content/renderer/android/synchronous_compositor_proxy.cc |
+++ b/content/renderer/android/synchronous_compositor_proxy.cc |
@@ -313,8 +313,8 @@ void SynchronousCompositorProxy::DoDemandDrawSw( |
if (!bitmap.installPixels(info, software_draw_shm_->shm.memory(), stride)) |
return; |
SkCanvas canvas(bitmap); |
- canvas.setMatrix(params.transform.matrix()); |
- canvas.setClipRegion(SkRegion(gfx::RectToSkIRect(params.clip))); |
+ canvas.concat(params.transform.matrix()); |
+ canvas.clipRect(gfx::RectToSkRect(params.clip)); |
compositor_frame_sink_->DemandDrawSw(&canvas); |
} |