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.
[ImageDecoder] Replace IndexSizeError with RangeError.
IndexSizeError is deprecated, so switch to RangeError. It's a bit tricky since RangeError isn't a DOMException, so a new error message field is introduced just for throwing the RangeError. R=tguilbert Bug: 1182435 Change-Id: I788fcf76c60cf6d0a1f4eb3e979d68aeaec297ce Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2872622 Commit-Queue: Dale Curtis <dalecurtis@chromium.org> Commit-Queue: Thomas Guilbert <tguilbert@chromium.org> Auto-Submit: Dale Curtis <dalecurtis@chromium.org> Reviewed-by: Thomas Guilbert <tguilbert@chromium.org> Cr-Commit-Position: refs/heads/master@{#879176}
- Loading branch information
1 parent
d2bab3e
commit 343bef1
Showing
3 changed files
with
31 additions
and
23 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