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

Commit c01de95

Browse files
author
Emmanuel Garcia
committed
Cut sentence better
1 parent 1686640 commit c01de95

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

shell/platform/android/external_view_embedder/external_view_embedder.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,9 @@ void AndroidExternalViewEmbedder::SubmitFrame(
131131
// Subpixels in the platform may not align with the canvas subpixels.
132132
//
133133
// To workaround it, round the floating point bounds and make the rect
134-
// slightly larger. For example, {0.3, 0.5, 3.1, 4.7} becomes {0, 0, 4,
135-
// 5}.
134+
// slightly larger.
135+
//
136+
// For example, {0.3, 0.5, 3.1, 4.7} becomes {0, 0, 4, 5}.
136137
joined_rect.set(joined_rect.roundOut());
137138
overlay_layers.at(view_id).push_back(joined_rect);
138139
// Clip the background canvas, so it doesn't contain any of the pixels

0 commit comments

Comments
 (0)