Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1370)

Unified Diff: content/renderer/android/synchronous_compositor_proxy.cc

Issue 2463713004: [Merge M55] sync compositor: Fix multiprocess software clipping (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 79dd3bd1cadc72a0057edb67a65c9d54bec536e1..958c4b81e64bd7a2f699872bfbc6aa5e5d7aa826 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.concat(params.transform.matrix());
canvas.clipRect(gfx::RectToSkRect(params.clip));
+ canvas.concat(params.transform.matrix());
compositor_frame_sink_->DemandDrawSw(&canvas);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698