DescriptionRemove all members in ScopedStyleTree for preparing class removal
As a part of ScopedStyleTree removal (issue 392018),
remove all private members in ScopedStyleTree.
|m_cache| is no longer necessary as ScopedStyleResolver
lookup from an element no longer require ascending the
DOM tree up, thanks to <style scoped> removal.
Unfortunately |m_authorStyles| cannot be removed completely
- StyleResolver still has to clear ScopedStyleResolvers
which are associated with TreeScopes, and thus moved from
ScopedStyleTree to StyleResolver (and renamed
|m_scopedStyleResolvers| to match what it contains).
BUG=392018
TEST=no layout test failures
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179051
Patch Set 1 #Patch Set 2 : rebase. #Patch Set 3 : rebase. #Patch Set 4 : Fix oilpan build. #Patch Set 5 : rebase #Patch Set 6 : resetAuthorStyle(TreeScope) #Patch Set 7 : ifdef destructor #
Total comments: 2
Patch Set 8 : Fix destructor #
Total comments: 1
Messages
Total messages: 13 (0 generated)
|