-
Yan, Shaobo authored
- Add rule to check imageBitmap state and throw invalid state error exception if imageBitmap has been closed. - Add rule to check depth of copySize and throw range error exception if depth of copySize is larger than 1. - Allow noop copy and modify validation rule to support on border source origin. BUG=966582 Change-Id: I9ce4fa6ec152a538cf88c42bb0b9cee634f55b54 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2402584Reviewed-by:
Austin Eng <enga@chromium.org> Reviewed-by:
Corentin Wallez <cwallez@chromium.org> Commit-Queue: Shaobo Yan <shaobo.yan@intel.com> Cr-Commit-Position: refs/heads/master@{#809682}
35c6236c