Skip to content
Commit 2e040291 authored by Fredrik Söderquist's avatar Fredrik Söderquist Committed by Chromium LUCI CQ
Browse files

Use HighlightPainter::ComputeBackgroundRect some more

All the background rect paint instances in HighlightPainter::Paint can
use this function. Makes one PaintRect() overload unused. Also simplify
the function itself by leveraging a suitablee operator+ for
PhysicalRect.

Change-Id: I1f22cb6b9f9563af25048eba2048b1b32b1d244a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5335736


Reviewed-by: default avatarStephen Chenney <schenney@chromium.org>
Auto-Submit: Fredrik Söderquist <fs@opera.com>
Commit-Queue: Stephen Chenney <schenney@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1267166}
parent 26dc447e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment