diff options
author | wangxianzhu <wangxianzhu@chromium.org> | 2016-01-05 10:29:51 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-05 18:31:39 +0000 |
commit | 927c0018c662b69a75c0de5cd26603c40d6a6111 (patch) | |
tree | a8470ca45815844a30f052ca3ffa2a3389b7ea53 /remoting | |
parent | c40e4d77214c8506a36c7c6974099f1181004fdd (diff) | |
download | chromium_src-927c0018c662b69a75c0de5cd26603c40d6a6111.zip chromium_src-927c0018c662b69a75c0de5cd26603c40d6a6111.tar.gz chromium_src-927c0018c662b69a75c0de5cd26603c40d6a6111.tar.bz2 |
Avoid assertion failure when painting ridge/double outlines
When painting ridge/double outline, we paint multiple parallel solid
edges. For some edges whose length is less than the width (maybe caused
by large negative offset), the inner edges may have negative length,
causing assertion failure in ObjectPainter::drawSolidBoxSide().
Skip negative length edges.
BUG=574225
TEST=fast/css/complex-ridge-outline-large-negative-offset.html
Review URL: https://codereview.chromium.org/1559143002
Cr-Commit-Position: refs/heads/master@{#367587}
Diffstat (limited to 'remoting')
0 files changed, 0 insertions, 0 deletions