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

Issue 163573004: Use ElementTraversal in HTMLTableRowsCollection::rowAfter() (Closed)

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

Description

Use ElementTraversal in HTMLTableRowsCollection::rowAfter() Use ElementTraversal in HTMLTableRowsCollection::rowAfter() instead of traversing manually. This makes it clearer that we are looking for Elements and is good for performance as ContainerNode::firstChild() gets called instead of Node::firstChild(). RoboHornet Pro benchmark is 1.7-1.8% faster with this patch on my Linux desktop. R=adamk, eseidel Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167151

Patch Set 1 #

Total comments: 4

Patch Set 2 : Tiny initialization fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -15 lines) Patch
M Source/core/dom/ElementTraversal.h View 2 chunks +11 lines, -0 lines 0 comments Download
M Source/core/html/HTMLTableRowsCollection.cpp View 1 5 chunks +16 lines, -15 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Inactive
6 years, 10 months ago (2014-02-13 21:37:24 UTC) #1
adamk
https://codereview.chromium.org/163573004/diff/1/Source/core/dom/ElementTraversal.h File Source/core/dom/ElementTraversal.h (right): https://codereview.chromium.org/163573004/diff/1/Source/core/dom/ElementTraversal.h#newcode150 Source/core/dom/ElementTraversal.h:150: inline Element* nextSibling(const Node& current) This is an exact ...
6 years, 10 months ago (2014-02-13 21:42:58 UTC) #2
Inactive
https://codereview.chromium.org/163573004/diff/1/Source/core/dom/ElementTraversal.h File Source/core/dom/ElementTraversal.h (right): https://codereview.chromium.org/163573004/diff/1/Source/core/dom/ElementTraversal.h#newcode150 Source/core/dom/ElementTraversal.h:150: inline Element* nextSibling(const Node& current) On 2014/02/13 21:42:58, adamk ...
6 years, 10 months ago (2014-02-13 21:51:36 UTC) #3
adamk
lgtm ok, thanks for the explanation, I haven't been fully tuned-in to the layering you ...
6 years, 10 months ago (2014-02-13 21:52:57 UTC) #4
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 10 months ago (2014-02-13 21:58:40 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/163573004/1
6 years, 10 months ago (2014-02-13 21:59:14 UTC) #6
eseidel
lgtm Very cool. Thank you.
6 years, 10 months ago (2014-02-13 22:46:22 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-14 01:58:48 UTC) #8
commit-bot: I haz the power
Retried try job too often on linux_blink for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink&number=12291
6 years, 10 months ago (2014-02-14 01:58:49 UTC) #9
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 10 months ago (2014-02-14 03:06:21 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/163573004/210001
6 years, 10 months ago (2014-02-14 03:07:04 UTC) #11
commit-bot: I haz the power
6 years, 10 months ago (2014-02-14 05:05:46 UTC) #12
Message was sent while issue was closed.
Change committed as 167151

Powered by Google App Engine
This is Rietveld 408576698