Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 5ab78bf

Browse files
committed
Preserve background frame damage
1 parent 2f8c752 commit 5ab78bf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

shell/platform/darwin/ios/framework/Source/platform_views_controller.mm

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,12 @@ bool ClipRRectContainsPlatformViewBoundingRect(const SkRRect& clip_rrect,
679679
overlay_id++;
680680
}
681681

682-
background_frame->set_submit_info({.present_with_transaction = true});
682+
auto previous_submit_info = background_frame->submit_info();
683+
background_frame->set_submit_info({
684+
.frame_damage = previous_submit_info.frame_damage,
685+
.buffer_damage = previous_submit_info.buffer_damage,
686+
.present_with_transaction = true,
687+
});
683688
background_frame->Encode();
684689
surface_frames.push_back(std::move(background_frame));
685690

0 commit comments

Comments
 (0)