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

Issue 336133002: Drop traverseNextElement() method from HTMLCollection class (Closed)

Created:
6 years, 6 months ago by Inactive
Modified:
6 years, 6 months ago
Reviewers:
esprehn, adamk
CC:
blink-reviews, blink-reviews-html_chromium.org, dglazkov+blink
Project:
blink
Visibility:
Public.

Description

Drop traverseNextElement() method from HTMLCollection class Drop traverseNextElement() method from HTMLCollection class to avoid code duplication with traverseForwardToOffset(). This method was only used by supportedPropertyNames() and updateIdNameCache(). Now these methods uses the standard traversal API (HTMLCollection::length() / item(index)), and thus the standard code path for HTMLCollection traversal. I did not see any regression with this change on Dromaeo: http://dromaeo.com/?id=223149,223150 R=adamk@chromium.org, esprehn@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176253

Patch Set 1 #

Total comments: 3

Patch Set 2 : Fix space issue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -13 lines) Patch
M Source/core/html/HTMLCollection.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/html/HTMLCollection.cpp View 1 3 chunks +6 lines, -11 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Inactive
6 years, 6 months ago (2014-06-15 23:08:49 UTC) #1
adamk
https://codereview.chromium.org/336133002/diff/1/Source/core/html/HTMLCollection.cpp File Source/core/html/HTMLCollection.cpp (right): https://codereview.chromium.org/336133002/diff/1/Source/core/html/HTMLCollection.cpp#newcode449 Source/core/html/HTMLCollection.cpp:449: unsigned length = this-> length(); Nit: space between "this->" ...
6 years, 6 months ago (2014-06-16 20:25:08 UTC) #2
adamk
https://codereview.chromium.org/336133002/diff/1/Source/core/html/HTMLCollection.cpp File Source/core/html/HTMLCollection.cpp (right): https://codereview.chromium.org/336133002/diff/1/Source/core/html/HTMLCollection.cpp#newcode449 Source/core/html/HTMLCollection.cpp:449: unsigned length = this-> length(); Nit: space between "this->" ...
6 years, 6 months ago (2014-06-16 20:25:08 UTC) #3
Inactive
https://codereview.chromium.org/336133002/diff/1/Source/core/html/HTMLCollection.cpp File Source/core/html/HTMLCollection.cpp (right): https://codereview.chromium.org/336133002/diff/1/Source/core/html/HTMLCollection.cpp#newcode449 Source/core/html/HTMLCollection.cpp:449: unsigned length = this-> length(); On 2014/06/16 20:25:08, adamk ...
6 years, 6 months ago (2014-06-16 20:41:09 UTC) #4
Inactive
https://codereview.chromium.org/336133002/diff/1/Source/core/html/HTMLCollection.cpp File Source/core/html/HTMLCollection.cpp (right): https://codereview.chromium.org/336133002/diff/1/Source/core/html/HTMLCollection.cpp#newcode449 Source/core/html/HTMLCollection.cpp:449: unsigned length = this-> length(); On 2014/06/16 20:41:09, Chris ...
6 years, 6 months ago (2014-06-16 20:45:52 UTC) #5
adamk
On 2014/06/16 at 20:41:09, ch.dumez wrote: > https://codereview.chromium.org/336133002/diff/1/Source/core/html/HTMLCollection.cpp > File Source/core/html/HTMLCollection.cpp (right): > > https://codereview.chromium.org/336133002/diff/1/Source/core/html/HTMLCollection.cpp#newcode449 ...
6 years, 6 months ago (2014-06-16 20:59:59 UTC) #6
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 6 months ago (2014-06-16 21:08:26 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/336133002/20001
6 years, 6 months ago (2014-06-16 21:09:05 UTC) #8
commit-bot: I haz the power
6 years, 6 months ago (2014-06-16 23:03:16 UTC) #9
Message was sent while issue was closed.
Change committed as 176253

Powered by Google App Engine
This is Rietveld 408576698