-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speculative fix for crash when emulating forced colors via DevTools
This CL attempts to fix a crash that occurs when the DevTools feature is used to emulate forced colors. The crash is caused by an inappropriate change of the key from the renderer, which leads to a call to a Windows OS method, GetSysColor(). The fix removes the key change and uses the custom creation function that was already implemented for the emulation. The crash could not be reproduced locally and will be followed up once this lands in canary to confirm that the fix works. (cherry picked from commit 0beb9ed) Bug: 1500381 Change-Id: I5ba9c29baad7d76bf79afe91eaecf8f9ebbed49d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5013943 Reviewed-by: Dave Tapuska <dtapuska@chromium.org> Reviewed-by: Alison Maher <almaher@microsoft.com> Commit-Queue: Sam Davis Omekara <samomekarajr@microsoft.com> Cr-Original-Commit-Position: refs/heads/main@{#1221806} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5055192 Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Owners-Override: Prudhvikumar Bommana <pbommana@google.com> Cr-Commit-Position: refs/branch-heads/6045@{#1468} Cr-Branched-From: 905e8bd-refs/heads/main@{#1204232}
- Loading branch information
Sam Davis Omekara (from Dev Box)
authored and
Daniel Yip
committed
Nov 24, 2023
1 parent
9aaf65b
commit 08d6575
Showing
3 changed files
with
8 additions
and
43 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