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

Issue 177063004: Move custom element definitions into ElementRareData (Closed)

Created:
6 years, 9 months ago by esprehn
Modified:
6 years, 9 months ago
CC:
blink-reviews, Nils Barth (inactive), kojih, arv+blink, jsbell+bindings_chromium.org, rwlbuis, sof, eae+blinkwatch, abarth-chromium, marja+watch_chromium.org, dglazkov+blink, dominicc+watchlist_chromium.org, adamk+blink_chromium.org, haraken, Nate Chapin, Inactive
Visibility:
Public.

Description

Move custom element definitions into ElementRareData Instead of keeping a separate hash map we should just store this information in the ElementRareData. This simplifies the implementation and in practice will likely reduce memory usage since almost all custom elements we've seen so far touch something that ends up making them use rare data like childNodes, attributes, tabIndex, classList or dataset. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169609

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add ASSERT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -49 lines) Patch
M Source/bindings/v8/CustomElementWrapper.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Element.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M Source/core/dom/Element.cpp View 1 1 chunk +15 lines, -0 lines 0 comments Download
M Source/core/dom/ElementRareData.h View 1 4 chunks +7 lines, -1 line 0 comments Download
M Source/core/dom/ElementRareData.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/custom/CustomElement.h View 2 chunks +0 lines, -21 lines 0 comments Download
M Source/core/dom/custom/CustomElement.cpp View 4 chunks +4 lines, -25 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
esprehn
6 years, 9 months ago (2014-03-01 06:15:58 UTC) #1
dominicc (has gone to gerrit)
LGTM from a code point of view; I'd like to know more about performance. This ...
6 years, 9 months ago (2014-03-03 04:32:23 UTC) #2
dglazkov
On 2014/03/03 04:32:23, dominicc wrote: > LGTM from a code point of view; I'd like ...
6 years, 9 months ago (2014-03-03 17:13:21 UTC) #3
esprehn
On 2014/03/03 04:32:23, dominicc wrote: > LGTM from a code point of view; I'd like ...
6 years, 9 months ago (2014-03-05 23:12:04 UTC) #4
dominicc (has gone to gerrit)
On 2014/03/05 23:12:04, esprehn wrote: > Yeah I think we should do that in the ...
6 years, 9 months ago (2014-03-18 23:56:31 UTC) #5
esprehn
On 2014/03/18 at 23:56:31, dominicc wrote: > On 2014/03/05 23:12:04, esprehn wrote: > > Yeah ...
6 years, 9 months ago (2014-03-20 00:54:52 UTC) #6
esprehn
The CQ bit was checked by esprehn@chromium.org
6 years, 9 months ago (2014-03-20 00:57:48 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/esprehn@chromium.org/177063004/20001
6 years, 9 months ago (2014-03-20 00:57:54 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-20 02:16:11 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-20 02:16:11 UTC) #10
esprehn
The CQ bit was checked by esprehn@chromium.org
6 years, 9 months ago (2014-03-20 02:32:33 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/esprehn@chromium.org/177063004/20001
6 years, 9 months ago (2014-03-20 02:32:37 UTC) #12
commit-bot: I haz the power
6 years, 9 months ago (2014-03-20 04:03:23 UTC) #13
Message was sent while issue was closed.
Change committed as 169609

Powered by Google App Engine
This is Rietveld 408576698