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 136783008: Move m_shouldOnlyIncludeDirectChildren member from LiveNodeListBase to HTMLCollection (Closed)

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

Description

Move m_shouldOnlyIncludeDirectChildren member from LiveNodeListBase to HTMLCollection Move m_shouldOnlyIncludeDirectChildren member from LiveNodeListBase to HTMLCollection as it is only useful to HTMLCollection and not LiveNodeList. This is always false for LiveNodeList now that ChildNodeList no longer subclasses LiveNodeList after r166565. A shouldOnlyIncludeDirectChildren() method is added to LiveNodeList which is inlined and returns false unconditionally. This method is called from templated methods in LiveNodeListBase and therefore the compiler will be able to optimize the branching out in the LiveNodeList specializations of these methods. R=esprehn, adamk Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166653

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -8 lines) Patch
M Source/core/dom/LiveNodeList.h View 5 chunks +3 lines, -5 lines 0 comments Download
M Source/core/html/HTMLCollection.h View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/html/HTMLCollection.cpp View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Inactive
6 years, 10 months ago (2014-02-06 03:54:16 UTC) #1
adamk
lgtm
6 years, 10 months ago (2014-02-06 17:40:16 UTC) #2
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 10 months ago (2014-02-06 18:22:20 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/136783008/1
6 years, 10 months ago (2014-02-06 18:23:16 UTC) #4
commit-bot: I haz the power
6 years, 10 months ago (2014-02-06 21:47:55 UTC) #5
Message was sent while issue was closed.
Change committed as 166653

Powered by Google App Engine
This is Rietveld 408576698