Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(3)

Issue 1162533005: Stop sorting StyleEngine::m_activeTreeScopes (Closed)

Created:
4 years, 11 months ago by kojii
Modified:
4 years, 10 months ago
CC:
blink-reviews, blink-reviews-dom_chromium.org, blink-reviews-style_chromium.org, dglazkov+blink, eae+blinkwatch, pfeldman, rwlbuis, sof, Timothy Loh
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Stop sorting StyleEngine::m_activeTreeScopes Blink no longer has code that depends on StyleEngine::m_activeTreeScopes being sorted in the document order. The sorting was introduced in crbug.com/244314#c18, in preparation to support "Order of Appearance" in tree-of-trees. This hasn't been really implemented, and is no longer needed in the current spec. Still the sorting takes ~5% of ContainerNode::insertBefore() when inserting <style> elements and there are a large number of TreeScopes in the document. This patch gets rid of the sorting. BUG=401359, 433225 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196831

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -126 lines) Patch
M Source/core/dom/StyleEngine.h View 1 2 chunks +2 lines, -44 lines 0 comments Download
M Source/core/dom/StyleEngine.cpp View 1 9 chunks +18 lines, -82 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
kojii
PTAL.
4 years, 10 months ago (2015-06-09 03:34:44 UTC) #2
hayato
lgtm
4 years, 10 months ago (2015-06-09 03:54:25 UTC) #3
hayato
On 2015/06/09 03:54:25, hayato wrote: > lgtm Before landing, could you summarize how blink used ...
4 years, 10 months ago (2015-06-09 03:56:27 UTC) #4
kochi
lgtm
4 years, 10 months ago (2015-06-09 04:26:25 UTC) #5
kojii
On 2015/06/09 at 03:56:27, hayato wrote: > > Before landing, could you summarize how blink ...
4 years, 10 months ago (2015-06-09 05:27:35 UTC) #6
hayato
On 2015/06/09 05:27:35, kojii wrote: > On 2015/06/09 at 03:56:27, hayato wrote: > > > ...
4 years, 10 months ago (2015-06-09 06:06:52 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1162533005/40001
4 years, 10 months ago (2015-06-10 03:50:47 UTC) #9
commit-bot: I haz the power
4 years, 10 months ago (2015-06-10 05:05:53 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196831

Powered by Google App Engine
This is Rietveld 408576698