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

Issue 1782473002: Check if stylesheet resource was cached before marking it as such. (Closed)

Created:
4 years, 9 months ago by sof
Modified:
4 years, 9 months ago
Reviewers:
tkent, Nate Chapin
CC:
chromium-reviews, tyoshino+watch_chromium.org, blink-reviews-style_chromium.org, blink-reviews-css, dglazkov+blink, apavlov+blink_chromium.org, gavinp+loader_chromium.org, darktears, blink-reviews, loading-reviews+fetch_chromium.org, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Check if stylesheet resource was cached before marking it as such. Should the memory cache already have an entry for a resource other than the stylesheet resource we're trying to add, do not mark the underlying StyleSheetContents as being "cached". Given the possibility that the StyleSheetContents may not be memory cached, retire the sanity-checking assert that a stylesheet resource must have been evicted from that cache when finalized. R=japhet BUG= NOTRY=true Committed: https://crrev.com/34cb0c85cdf289e217a497a5bff147966ddaad0a Cr-Commit-Position: refs/heads/master@{#380559}

Patch Set 1 #

Patch Set 2 : add unit test #

Patch Set 3 : fix non-oilpan compilation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -4 lines) Patch
M third_party/WebKit/Source/core/css/CSSStyleSheetResourceTest.cpp View 1 2 1 chunk +32 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/StyleSheetContents.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp View 3 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 34 (18 generated)
sof
please take a look. The ~CSSStyleSheetResource assert triggered while the twitter widget was loading on ...
4 years, 9 months ago (2016-03-09 18:40:28 UTC) #3
Nate Chapin
On 2016/03/09 18:40:28, sof wrote: > please take a look. > > The ~CSSStyleSheetResource assert ...
4 years, 9 months ago (2016-03-09 20:05:29 UTC) #4
sof
On 2016/03/09 20:05:29, Nate Chapin wrote: > On 2016/03/09 18:40:28, sof wrote: > > please ...
4 years, 9 months ago (2016-03-10 09:32:19 UTC) #5
Nate Chapin
Thanks! LGTM
4 years, 9 months ago (2016-03-10 18:57:47 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1782473002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1782473002/40001
4 years, 9 months ago (2016-03-10 19:27:41 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/194754)
4 years, 9 months ago (2016-03-10 20:35:34 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1782473002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1782473002/40001
4 years, 9 months ago (2016-03-10 20:50:52 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/187328)
4 years, 9 months ago (2016-03-10 21:10:48 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1782473002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1782473002/40001
4 years, 9 months ago (2016-03-10 21:23:49 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/128939)
4 years, 9 months ago (2016-03-10 22:03:03 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1782473002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1782473002/40001
4 years, 9 months ago (2016-03-10 22:18:46 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/179648)
4 years, 9 months ago (2016-03-10 22:59:14 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1782473002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1782473002/40001
4 years, 9 months ago (2016-03-11 06:08:21 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1782473002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1782473002/40001
4 years, 9 months ago (2016-03-11 06:36:59 UTC) #30
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-11 06:45:43 UTC) #32
commit-bot: I haz the power
4 years, 9 months ago (2016-03-11 06:46:45 UTC) #34
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/34cb0c85cdf289e217a497a5bff147966ddaad0a
Cr-Commit-Position: refs/heads/master@{#380559}

Powered by Google App Engine
This is Rietveld 408576698