Added input argument types member to MainThreadDocumentPaintDefinition
CSSPaintImageGeneratorImpl::InputArgumentTypes required an extra case for off main thread CSS Paint to uses MainThreadDocumentPaintDefinition instead of DocumentPaintDefinition. This required MainThreadDocumentPaintDefinition to have an addition member to include the input argument types. An extra parameter was added to PaintWorklet::RegisterMainThreadDocumentPaintDefinition and its references were also changed to accommodate the extra member for the input argument types. Unit testing was added. Bug: 946519 Change-Id: I038e5146a5bb6f2d2cec96799f32eae9eb6f5dfa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1635732Reviewed-by:Anders Hartvoll Ruud <andruud@chromium.org> Reviewed-by:
Xida Chen <xidachen@chromium.org> Commit-Queue: Adam Raine <asraine@google.com> Cr-Commit-Position: refs/heads/master@{#665922}
Showing
Please register or sign in to comment