Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(45)

Issue 1200473002: Fixed traversal bug in CSSValueList::removeAll (Closed)

Created:
4 years, 10 months ago by sashab
Modified:
4 years, 10 months ago
Reviewers:
dstockwell, Timothy Loh
CC:
blink-reviews, dglazkov+blink, rwlbuis, apavlov+blink_chromium.org, blink-reviews-css, darktears
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Fixed traversal bug in CSSValueList::removeAll Fixed a small bug in CSSValueList::removeAll where every element after a removed one would previously be skipped. With this patch, removeAll() checks all elements correctly. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197699

Patch Set 1 #

Patch Set 2 : Review feedback #

Patch Set 3 : Changed size_t to int #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M Source/core/css/CSSValueList.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (7 generated)
sashab
4 years, 10 months ago (2015-06-19 18:42:37 UTC) #2
Timothy Loh
On 2015/06/19 18:42:37, sashab wrote: lgtm but the comment seems weird to me, since we ...
4 years, 10 months ago (2015-06-22 01:36:27 UTC) #3
Timothy Loh
BTW this is one of the very few places where CSSValues can be mutated (excluding ...
4 years, 10 months ago (2015-06-22 04:07:49 UTC) #4
sashab
Sure, happy to look at removing it separately. It seems to be called from editing ...
4 years, 10 months ago (2015-06-24 01:03:07 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1200473002/20001
4 years, 10 months ago (2015-06-24 01:03:20 UTC) #9
commit-bot: I haz the power
Exceeded global retry quota
4 years, 10 months ago (2015-06-24 01:13:11 UTC) #11
sashab
Hmm.. So this code doesn't *quite* work because index is an unsigned variable. Some suggestions ...
4 years, 10 months ago (2015-06-24 02:49:19 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1200473002/40001
4 years, 10 months ago (2015-06-24 03:02:05 UTC) #15
commit-bot: I haz the power
4 years, 10 months ago (2015-06-24 04:22:13 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197699

Powered by Google App Engine
This is Rietveld 408576698