commit | 03ffb82d2b2e2d34ae4b5ea71cc0aa9dc863dce8 | [log] [tgz] |
---|---|---|
author | Stephen McGruer <smcgruer@chromium.org> | Mon Jul 08 13:21:25 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jul 08 13:21:25 2019 |
tree | 8651fcc9f0eaab85fa9d8532b4e06ed4b807e420 | |
parent | 16cb7c8c4f59693bed364e9a30c467d7ac9f6482 [diff] |
Properly test !CSSPaintAPIArguments in CSSPaintValueTest Previously all the tests assumed that CSSPaintAPIArguments was on, which was covering up a bug where OffMainThreadCSSPaint would create a deferred image even though the generator wasn't ready (because ParseInputArguments would pass due to !CSSPaintAPIArguments). This CL fixes the tests to actually test all combinations, and fixes the bug by extracting the generator-ready check outside of ParseInputArguments. Bug: None Change-Id: I6789cf24b7efa6035a88990082a857f24ccafbb4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1689953 Reviewed-by: Xida Chen <xidachen@chromium.org> Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Stephen McGruer <smcgruer@chromium.org> Cr-Commit-Position: refs/heads/master@{#675214}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .