Skip to content

Commit

Permalink
save (#37107) (#38071)
Browse files Browse the repository at this point in the history
Co-authored-by: JiaJian <33014143+endless7@users.noreply.github.com>
  • Loading branch information
zanderso and endless7 committed Dec 5, 2022
1 parent cc1caa6 commit e9e117f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -800,6 +800,7 @@ static bool ClipBoundsContainsPlatformViewBoundingRect(const SkRect& clip_bounds
return layer;
}
SkCanvas* overlay_canvas = frame->SkiaCanvas();
overlay_canvas->clipRect(rect);
overlay_canvas->clear(SK_ColorTRANSPARENT);
if (frame->GetDisplayListBuilder()) {
slice->render_into(frame->GetDisplayListBuilder().get());
Expand Down

0 comments on commit e9e117f

Please sign in to comment.