forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
blink::Color: Ensure that FromRGB and FromRGBA be constexpr
This is required to convert several locations in blink/renderer/core from using the implicit blink::Color constructor from RGBA32. Also update a missed implicit conversion in CanvasRenderingContext2DState and GraphicsContext. Bug: 1351544 Change-Id: I4ae5a98bfabdd6c0d5c1ba0f25bddf4ff0ca89c2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3825960 Commit-Queue: ccameron chromium <ccameron@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/main@{#1033999}
- Loading branch information
1 parent
b13a076
commit ebe342f
Showing
4 changed files
with
17 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters