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

Issue 192473003: Move CSSRuleList to the garbage collected heap (Closed)

Created:
6 years, 9 months ago by Erik Corry
Modified:
6 years, 9 months ago
CC:
blink-reviews, eae+blinkwatch, apavlov+blink_chromium.org, adamk+blink_chromium.org, aandrey+blink_chromium.org, rune+blink, caseq+blink_chromium.org, arv+blink, yurys+blink_chromium.org, dglazkov+blink, devtools-reviews_chromium.org, rwlbuis, kenneth.christiansen, loislo+blink_chromium.org, Mads Ager (chromium), sof, lushnikov+blink_chromium.org, eustas+blink_chromium.org, paulirish+reviews_chromium.org, darktears, haraken, alph+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, ed+blinkwatch_opera.com, Inactive, kouhei+heap_chromium.org, watchdog-blink-watchlist_google.com
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Remove persistent from m_authorStyleSheets in StyleEngine.h #

Total comments: 8

Patch Set 3 : Remove outdated comment on CSSRule.h #

Total comments: 16

Patch Set 4 : Fix teardown of StyleEngine #

Total comments: 18

Patch Set 5 : Feedback from Haraken-san #

Total comments: 4

Patch Set 6 : ager feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -126 lines) Patch
M Source/bindings/v8/Dictionary.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/Dictionary.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSCharsetRule.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSFilterRule.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSFontFaceRule.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSGroupingRule.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSGroupingRule.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/css/CSSImportRule.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/css/CSSImportRule.cpp View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/css/CSSKeyframesRule.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/css/CSSKeyframesRule.cpp View 3 chunks +3 lines, -2 lines 0 comments Download
M Source/core/css/CSSMediaRule.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSPageRule.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSRule.h View 1 2 1 chunk +1 line, -4 lines 0 comments Download
M Source/core/css/CSSRule.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSRuleList.h View 1 2 3 4 5 2 chunks +33 lines, -14 lines 0 comments Download
M Source/core/css/CSSRuleList.cpp View 1 2 3 2 chunks +10 lines, -0 lines 0 comments Download
M Source/core/css/CSSRuleList.idl View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/css/CSSStyleRule.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSStyleSheet.h View 2 chunks +3 lines, -4 lines 0 comments Download
M Source/core/css/CSSStyleSheet.cpp View 1 2 3 4 chunks +19 lines, -6 lines 0 comments Download
M Source/core/css/CSSSupportsRule.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSViewportRule.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/ElementRuleCollector.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/css/ElementRuleCollector.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/StyleSheetList.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/css/StyleSheetList.cpp View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download
M Source/core/css/resolver/StyleResolver.h View 3 chunks +6 lines, -5 lines 0 comments Download
M Source/core/css/resolver/StyleResolver.cpp View 1 2 3 4 chunks +5 lines, -5 lines 0 comments Download
M Source/core/dom/Document.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Document.cpp View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/dom/DocumentStyleSheetCollector.h View 1 2 3 4 4 chunks +10 lines, -5 lines 0 comments Download
M Source/core/dom/DocumentStyleSheetCollector.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/dom/StyleEngine.h View 1 2 3 4 chunks +14 lines, -10 lines 0 comments Download
M Source/core/dom/StyleEngine.cpp View 1 2 3 4 9 chunks +25 lines, -7 lines 0 comments Download
M Source/core/dom/StyleSheetCollection.h View 2 chunks +9 lines, -8 lines 0 comments Download
M Source/core/dom/StyleSheetCollection.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/dom/TreeScopeStyleSheetCollection.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/dom/TreeScopeStyleSheetCollection.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/frame/DOMWindow.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/frame/DOMWindow.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/inspector/InspectorCSSAgent.cpp View 3 chunks +5 lines, -5 lines 0 comments Download
M Source/core/inspector/InspectorStyleSheet.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/inspector/InspectorStyleSheet.cpp View 1 2 3 4 chunks +6 lines, -6 lines 0 comments Download
M Source/core/storage/StorageEvent.h View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M Source/heap/Visitor.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
Erik Corry
6 years, 9 months ago (2014-03-10 11:51:34 UTC) #1
Mads Ager (chromium)
https://codereview.chromium.org/192473003/diff/20001/Source/core/css/CSSImportRule.cpp File Source/core/css/CSSImportRule.cpp (left): https://codereview.chromium.org/192473003/diff/20001/Source/core/css/CSSImportRule.cpp#oldcode41 Source/core/css/CSSImportRule.cpp:41: if (m_styleSheetCSSOMWrapper) Uh, careful. We probably still need this ...
6 years, 9 months ago (2014-03-10 12:32:56 UTC) #2
zerny-chromium
Mostly lgtm https://codereview.chromium.org/192473003/diff/40001/Source/core/css/CSSRuleList.cpp File Source/core/css/CSSRuleList.cpp (right): https://codereview.chromium.org/192473003/diff/40001/Source/core/css/CSSRuleList.cpp#newcode59 Source/core/css/CSSRuleList.cpp:59: CSSRuleList::trace(visitor); This one can be left out ...
6 years, 9 months ago (2014-03-10 14:00:20 UTC) #3
Erik Corry
https://codereview.chromium.org/192473003/diff/40001/Source/core/css/CSSRuleList.cpp File Source/core/css/CSSRuleList.cpp (right): https://codereview.chromium.org/192473003/diff/40001/Source/core/css/CSSRuleList.cpp#newcode59 Source/core/css/CSSRuleList.cpp:59: CSSRuleList::trace(visitor); On 2014/03/10 14:00:21, zerny-chromium wrote: > This one ...
6 years, 9 months ago (2014-03-12 10:36:40 UTC) #4
haraken
LGTM with comments. https://codereview.chromium.org/192473003/diff/60001/Source/core/css/StyleSheetList.h File Source/core/css/StyleSheetList.h (right): https://codereview.chromium.org/192473003/diff/60001/Source/core/css/StyleSheetList.h#newcode57 Source/core/css/StyleSheetList.h:57: TreeScope* m_treeScope; This raw pointer looks ...
6 years, 9 months ago (2014-03-12 11:08:20 UTC) #5
Erik Corry
https://codereview.chromium.org/192473003/diff/60001/Source/core/css/StyleSheetList.h File Source/core/css/StyleSheetList.h (right): https://codereview.chromium.org/192473003/diff/60001/Source/core/css/StyleSheetList.h#newcode57 Source/core/css/StyleSheetList.h:57: TreeScope* m_treeScope; On 2014/03/12 11:08:21, haraken wrote: > > ...
6 years, 9 months ago (2014-03-12 11:48:56 UTC) #6
Mads Ager (chromium)
LGTM https://codereview.chromium.org/192473003/diff/80001/Source/core/css/CSSImportRule.cpp File Source/core/css/CSSImportRule.cpp (left): https://codereview.chromium.org/192473003/diff/80001/Source/core/css/CSSImportRule.cpp#oldcode41 Source/core/css/CSSImportRule.cpp:41: if (m_styleSheetCSSOMWrapper) I think you still need this ...
6 years, 9 months ago (2014-03-12 12:24:41 UTC) #7
Erik Corry
https://codereview.chromium.org/192473003/diff/20001/Source/core/css/CSSImportRule.cpp File Source/core/css/CSSImportRule.cpp (left): https://codereview.chromium.org/192473003/diff/20001/Source/core/css/CSSImportRule.cpp#oldcode41 Source/core/css/CSSImportRule.cpp:41: if (m_styleSheetCSSOMWrapper) On 2014/03/10 12:32:56, Mads Ager (chromium) wrote: ...
6 years, 9 months ago (2014-03-12 12:31:26 UTC) #8
Erik Corry
The CQ bit was checked by erik.corry@gmail.com
6 years, 9 months ago (2014-03-12 13:52:04 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erik.corry@gmail.com/192473003/100001
6 years, 9 months ago (2014-03-12 13:52:07 UTC) #10
commit-bot: I haz the power
6 years, 9 months ago (2014-03-12 15:11:01 UTC) #11
Message was sent while issue was closed.
Change committed as 169021

Powered by Google App Engine
This is Rietveld 408576698