Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Issue 1381973002: Disable canvas line dashing when dash sequence is all zeros. (Closed)

Created:
5 years, 2 months ago by Justin Novosad
Modified:
5 years, 2 months ago
Reviewers:
Stephen White
CC:
chromium-reviews, blink-reviews, Rik, Justin Novosad, dshwang
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disable canvas line dashing when dash sequence is all zeros. BUG=535281 R=senorblanco@chromium.org Committed: https://crrev.com/1c577f8478cf5d72b9b155c8bdccd0a246da5130 Cr-Commit-Position: refs/heads/master@{#351833}

Patch Set 1 #

Total comments: 5

Patch Set 2 : added test for 'null' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -1 line) Patch
M third_party/WebKit/LayoutTests/fast/canvas/canvas-lineDash-expected.txt View 1 2 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-lineDash.js View 1 2 chunks +14 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp View 1 chunk +10 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 8 (1 generated)
Justin Novosad
PTAL
5 years, 2 months ago (2015-10-01 15:27:45 UTC) #1
Stephen White
https://codereview.chromium.org/1381973002/diff/1/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-lineDash.js File third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-lineDash.js (right): https://codereview.chromium.org/1381973002/diff/1/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-lineDash.js#newcode108 third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-lineDash.js:108: ctx.setLineDash([0, 0]); Please add a [null, null] case as ...
5 years, 2 months ago (2015-10-01 15:46:02 UTC) #2
Justin Novosad
https://codereview.chromium.org/1381973002/diff/1/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-lineDash.js File third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-lineDash.js (right): https://codereview.chromium.org/1381973002/diff/1/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-lineDash.js#newcode108 third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-lineDash.js:108: ctx.setLineDash([0, 0]); On 2015/10/01 15:46:02, Stephen White wrote: > ...
5 years, 2 months ago (2015-10-01 16:06:42 UTC) #3
Stephen White
LGTM https://codereview.chromium.org/1381973002/diff/1/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp File third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp (right): https://codereview.chromium.org/1381973002/diff/1/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp#newcode216 third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp:216: if (!hasANonZeroElement(m_lineDash)) { On 2015/10/01 16:06:42, Justin Novosad ...
5 years, 2 months ago (2015-10-01 16:54:44 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1381973002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1381973002/20001
5 years, 2 months ago (2015-10-01 16:55:48 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 2 months ago (2015-10-01 17:29:55 UTC) #7
commit-bot: I haz the power
5 years, 2 months ago (2015-10-01 17:32:01 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1c577f8478cf5d72b9b155c8bdccd0a246da5130
Cr-Commit-Position: refs/heads/master@{#351833}

Powered by Google App Engine
This is Rietveld 408576698