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

Issue 2589243002: Clear CSSGlobalRuleSet on StyleEngine::didDetach(). (Closed)

Created:
4 years ago by rune
Modified:
4 years ago
Reviewers:
sof
CC:
chromium-reviews, blink-reviews-style_chromium.org, blink-reviews-css, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, apavlov+blink_chromium.org, darktears, blink-reviews, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clear CSSGlobalRuleSet on StyleEngine::didDetach(). This could free up memory sooner. Found while investigating 675533, but not confirmed that this fixes that issue. BUG=675533 Committed: https://crrev.com/a865f6c19c00f0ba9e021c4871b53d2e115a2b00 Cr-Commit-Position: refs/heads/master@{#439935}

Patch Set 1 #

Total comments: 1

Patch Set 2 : reset() -> dispose(). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -0 lines) Patch
M third_party/WebKit/Source/core/css/CSSGlobalRuleSet.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSGlobalRuleSet.cpp View 1 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/StyleEngine.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 21 (12 generated)
rune
ptal
4 years ago (2016-12-20 15:02:03 UTC) #6
sof
lgtm Up to you if you think it helps; releasing the underlying RuleFeatureSet's resources promptly ...
4 years ago (2016-12-20 18:42:09 UTC) #7
rune
On 2016/12/20 18:42:09, sof wrote: > lgtm > > Up to you if you think ...
4 years ago (2016-12-20 18:57:15 UTC) #8
rune
On 2016/12/20 18:42:09, sof wrote: > lgtm > > Up to you if you think ...
4 years ago (2016-12-20 18:57:15 UTC) #9
sof
On 2016/12/20 18:57:15, rune wrote: > On 2016/12/20 18:42:09, sof wrote: > > lgtm > ...
4 years ago (2016-12-20 19:09:46 UTC) #10
rune
On 2016/12/20 19:09:46, sof wrote: > On 2016/12/20 18:57:15, rune wrote: > > On 2016/12/20 ...
4 years ago (2016-12-20 20:53:06 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2589243002/20001
4 years ago (2016-12-20 20:54:43 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-20 23:52:46 UTC) #19
commit-bot: I haz the power
4 years ago (2016-12-20 23:54:41 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a865f6c19c00f0ba9e021c4871b53d2e115a2b00
Cr-Commit-Position: refs/heads/master@{#439935}

Powered by Google App Engine
This is Rietveld 408576698