forked from chromium/chromium
-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
M110: cc: fix crashes with shared image decode cache tasks
Adds additional image ref for a client if it has never had a decode/ upload task requested. Otherwise, the client will try to unref the image more times than the image's ref count's number is and the process will crash as the image will not be presented in the cache. (cherry picked from commit c7aa039) Bug: 1400712 Change-Id: Ia9268a7621b2860ca776cbd6c43880c7607ff379 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4110588 Reviewed-by: Kyle Charbonneau <kylechar@chromium.org> Commit-Queue: Maksim Sisov <msisov@igalia.com> Cr-Original-Commit-Position: refs/heads/main@{#1084396} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4114024 Cr-Commit-Position: refs/branch-heads/5481@{#14} Cr-Branched-From: 130f3e4-refs/heads/main@{#1084008}
- Loading branch information
Showing
2 changed files
with
59 additions
and
7 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