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

Issue 425033002: Remove ContainerNode overload for ElementTraversal::previous() (Closed)

Created:
6 years, 4 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 ElementTraversal::previous() Remove ContainerNode overload for NodeTraversal::previous() as it adds no benefit compared to the one taking a Node in argument. The ElementTraversal::previous() implementation calls NodeTraversal::previous() which does not have a ContainerNode overload. The NodeTraversal::previous() implementation calls previousSibling() and parentNode() on the argument so having a ContainerNode overload for it wouldn't help as those operations are fast on pure Nodes. R=esprehn@chromium.org, adamk@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179163

Patch Set 1 #

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

Messages

Total messages: 5 (0 generated)
Inactive
6 years, 4 months ago (2014-07-29 15:04:40 UTC) #1
adamk
lgtm
6 years, 4 months ago (2014-07-29 17:37:09 UTC) #2
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 4 months ago (2014-07-29 17:39:00 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/425033002/1
6 years, 4 months ago (2014-07-29 17:39:41 UTC) #4
commit-bot: I haz the power
6 years, 4 months ago (2014-07-29 17:43:08 UTC) #5
Message was sent while issue was closed.
Change committed as 179163

Powered by Google App Engine
This is Rietveld 408576698