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

Issue 245103004: Remove dead code from childIndex optimization (Closed)

Created:
6 years, 8 months ago by esprehn
Modified:
6 years, 8 months ago
CC:
blink-reviews, sof, eae+blinkwatch, ed+blinkwatch_opera.com, ojan, dglazkov+blink, apavlov+blink_chromium.org, adamk+blink_chromium.org, darktears, rune+blink, Inactive, rwlbuis
Visibility:
Public.

Description

Remove dead code from childIndex optimization We used to use the childIndex in the DOMSiblingTraversalStrategy but leviw@ removed it to fix a bug after he reversed the direction we did recalcStyle in r160288 and r158839. We're going to need something like this eventually, but I think we want something even better than this old optimization since it didn't help querySelector at all. Lets just delete this code for now while we figure out the right way to optimize nth-child selectors. BUG=364081 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172105

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -26 lines) Patch
M Source/core/css/SelectorChecker.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/dom/Element.h View 2 chunks +0 lines, -5 lines 0 comments Download
M Source/core/dom/Element.cpp View 1 chunk +0 lines, -14 lines 0 comments Download
M Source/core/dom/ElementRareData.h View 4 chunks +0 lines, -6 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
esprehn
6 years, 8 months ago (2014-04-21 22:52:06 UTC) #1
eseidel
lgtm
6 years, 8 months ago (2014-04-21 22:56:46 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/esprehn@chromium.org/245103004/1
6 years, 8 months ago (2014-04-21 22:57:00 UTC) #3
commit-bot: I haz the power
6 years, 8 months ago (2014-04-22 02:07:17 UTC) #4
Message was sent while issue was closed.
Change committed as 172105

Powered by Google App Engine
This is Rietveld 408576698