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

Issue 2920103002: Tidy up SVGListPropertyHelper (Closed)

Created:
3 years, 6 months ago by fs
Modified:
3 years, 6 months ago
Reviewers:
pdr.
CC:
fs, blink-reviews, chromium-reviews, krit, fmalita+watch_chromium.org, gyuyoung2, kouhei+svg_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Tidy up SVGListPropertyHelper Turn some iterations into range-based for-loops. Use operator== from Vector<...> rather than re-implementing it. Remove FindItem (unused.) Deduplicate some code, replace 0 with nullptr where appropriate and simplify the padding loop. BUG=709001 Review-Url: https://codereview.chromium.org/2920103002 Cr-Commit-Position: refs/heads/master@{#476914} Committed: https://chromium.googlesource.com/chromium/src/+/5f488b372798d523f0b6b48f6eec7efa6bf53500

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -60 lines) Patch
M third_party/WebKit/Source/core/svg/properties/SVGListPropertyHelper.h View 10 chunks +17 lines, -60 lines 2 comments Download

Messages

Total messages: 13 (8 generated)
fs
3 years, 6 months ago (2017-06-03 19:45:24 UTC) #6
pdr.
LGTM, much tidier! https://codereview.chromium.org/2920103002/diff/1/third_party/WebKit/Source/core/svg/properties/SVGListPropertyHelper.h File third_party/WebKit/Source/core/svg/properties/SVGListPropertyHelper.h (right): https://codereview.chromium.org/2920103002/diff/1/third_party/WebKit/Source/core/svg/properties/SVGListPropertyHelper.h#newcode231 third_party/WebKit/Source/core/svg/properties/SVGListPropertyHelper.h:231: // TODO(fs): This should not cause ...
3 years, 6 months ago (2017-06-04 17:05:08 UTC) #7
fs
https://codereview.chromium.org/2920103002/diff/1/third_party/WebKit/Source/core/svg/properties/SVGListPropertyHelper.h File third_party/WebKit/Source/core/svg/properties/SVGListPropertyHelper.h (right): https://codereview.chromium.org/2920103002/diff/1/third_party/WebKit/Source/core/svg/properties/SVGListPropertyHelper.h#newcode231 third_party/WebKit/Source/core/svg/properties/SVGListPropertyHelper.h:231: // TODO(fs): This should not cause us to throw ...
3 years, 6 months ago (2017-06-04 17:11:27 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2920103002/1
3 years, 6 months ago (2017-06-04 18:35:51 UTC) #10
commit-bot: I haz the power
3 years, 6 months ago (2017-06-04 20:41:54 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/5f488b372798d523f0b6b48f6eec...

Powered by Google App Engine
This is Rietveld 408576698