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 420603012: Remove ContainerNode overload for NodeTraversal::nextSkippingChildren() (Closed)

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

Description

Remove ContainerNode overload for NodeTraversal::nextSkippingChildren() Remove ContainerNode overload for NodeTraversal::nextSkippingChildren() as it adds no benefit compared to the one taking a Node in argument. The nextSkippingChildren() implementation does not involves visiting the children (and thus calling firstChild() / lastChild()). Therefore, there is no benefit to knowing that the argument is a ContainerNode (unlike for NodeTraversal::next()). This CL also does the same for ElementTraversal::nextSkippingChildren(). R=esprehn@chromium.org, adamk@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179055

Patch Set 1 #

Patch Set 2 : Remove the one from ElementTraversal as well #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -24 lines) Patch
M Source/core/dom/ElementTraversal.h View 1 4 chunks +4 lines, -12 lines 0 comments Download
M Source/core/dom/NodeTraversal.h View 3 chunks +4 lines, -12 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Inactive
6 years, 5 months ago (2014-07-25 20:07:57 UTC) #1
adamk
lgtm
6 years, 4 months ago (2014-07-28 18:42:44 UTC) #2
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 4 months ago (2014-07-28 20:27:46 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/420603012/20001
6 years, 4 months ago (2014-07-28 20:28:48 UTC) #4
commit-bot: I haz the power
6 years, 4 months ago (2014-07-28 20:32:07 UTC) #5
Message was sent while issue was closed.
Change committed as 179055

Powered by Google App Engine
This is Rietveld 408576698