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

Issue 204423002: Should remove StyleSheetContents from cache even if document is not active. (Closed)

Created:
6 years, 9 months ago by tasak
Modified:
6 years, 9 months ago
Reviewers:
esprehn, dglazkov
CC:
blink-reviews, ed+blinkwatch_opera.com, dglazkov+blink, apavlov+blink_chromium.org, darktears, rune+blink, rwlbuis
Visibility:
Public.

Description

Should remove StyleSheetContents from cache even if document is not active. StyleSheetContents cache works independent of document's active(), because StyleElement::process() always invokes StyleEngine::createSheet(). So removeSheetFromCache should also remove 'this' from the cache independent of document's active(). BUG=353894 TEST=fast/dom/move-style-element-to-inactive-document-crash.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169595

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -2 lines) Patch
A LayoutTests/fast/dom/move-style-element-to-inactive-document-crash.html View 1 chunk +21 lines, -0 lines 0 comments Download
A + LayoutTests/fast/dom/move-style-element-to-inactive-document-crash-expected.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
M Source/core/css/CSSStyleSheet.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/css/StyleSheetContents.cpp View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
inferno
6 years, 9 months ago (2014-03-19 21:43:07 UTC) #1
dglazkov
lgtm
6 years, 9 months ago (2014-03-19 21:44:20 UTC) #2
tasak
The CQ bit was checked by tasak@google.com
6 years, 9 months ago (2014-03-19 22:57:48 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tasak@google.com/204423002/1
6 years, 9 months ago (2014-03-19 22:57:52 UTC) #4
commit-bot: I haz the power
6 years, 9 months ago (2014-03-20 00:00:10 UTC) #5
Message was sent while issue was closed.
Change committed as 169595

Powered by Google App Engine
This is Rietveld 408576698