| commit | c2635f87e413ac3f81a81ac1e37fce54fdc8d26d | [log] [tgz] |
|---|---|---|
| author | xlai <xlai@chromium.org> | Fri Jul 08 21:18:53 2016 |
| committer | Commit bot <commit-bot@chromium.org> | Fri Jul 08 21:22:01 2016 |
| tree | 00e768dbdeeba3cf9d0d5b7ebb52f9f6675542c1 | |
| parent | ab2caa6f55eb30e614afce9f1b2a7cfa244eb173 [diff] |
Correct color bleeding of no-repeat pattern in canvas2d Currently the image pattern shader created is only padded with 1 black transparent pixel right and bottom. We should pad it on the left and top as well so that when pattern is transformed, the color on its left and top will not bleed. BUG=602509 Review-Url: https://codereview.chromium.org/2130063002 Cr-Commit-Position: refs/heads/master@{#404491}