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

Issue 224303004: Stop passing the root node to node lists traversal functions (Closed)

Created:
6 years, 8 months ago by Inactive
Modified:
6 years, 8 months ago
Reviewers:
esprehn, adamk
CC:
blink-reviews, sof, eae+blinkwatch, dglazkov+blink, adamk+blink_chromium.org, Inactive, rwlbuis
Visibility:
Public.

Description

Stop passing the root node to node lists traversal functions Stop passing the root node to node lists traversal functions. Their implementation can call LiveNodeListBase::rootNode() if needed and do not really need it to be passed in argument. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170800

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -49 lines) Patch
M Source/core/dom/ChildNodeList.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/dom/ChildNodeList.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/LiveNodeList.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/dom/LiveNodeList.cpp View 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/dom/LiveNodeListBase.h View 4 chunks +9 lines, -7 lines 0 comments Download
M Source/core/html/CollectionIndexCache.h View 5 chunks +12 lines, -13 lines 0 comments Download
M Source/core/html/HTMLCollection.h View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/html/HTMLCollection.cpp View 5 chunks +15 lines, -17 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Inactive
6 years, 8 months ago (2014-04-03 21:06:40 UTC) #1
adamk
lgtm, looks like this avoids some unnecessary argument passing in a good number of cases.
6 years, 8 months ago (2014-04-03 21:09:26 UTC) #2
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 8 months ago (2014-04-03 21:20:51 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/224303004/1
6 years, 8 months ago (2014-04-03 21:20:52 UTC) #4
commit-bot: I haz the power
6 years, 8 months ago (2014-04-03 22:19:20 UTC) #5
Message was sent while issue was closed.
Change committed as 170800

Powered by Google App Engine
This is Rietveld 408576698