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

Issue 2179353003: [CacheStorage] Check doomed caches first when dropping cache handles (Closed)

Created:
4 years, 4 months ago by jkarlin
Modified:
4 years, 4 months ago
Reviewers:
jsbell
CC:
chromium-reviews, darin-cc_chromium.org, jam, jkarlin+watch_chromium.org, nhiroki
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[CacheStorage] Check doomed caches first when dropping cache handles When the last cache handle is dropped, first check if it's a doomed cache object before removing the cache from the active cache map. Previously we were checking the other way around, which caused the active cache to be deleted (in the event that a new cache was created with the same name) instead of the doomed one. BUG=631467 Committed: https://crrev.com/956d7aca53f56b5cff228af586ea2e5f895f2e9b Cr-Commit-Position: refs/heads/master@{#407850}

Patch Set 1 #

Patch Set 2 : Fix the test to work around a different bug #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -10 lines) Patch
M content/browser/cache_storage/cache_storage.cc View 1 2 chunks +5 lines, -10 lines 0 comments Download
M content/browser/cache_storage/cache_storage_manager_unittest.cc View 1 1 chunk +25 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 19 (14 generated)
jkarlin
jsbell@ PTAL, thanks!
4 years, 4 months ago (2016-07-26 16:29:23 UTC) #10
jsbell
lgtm
4 years, 4 months ago (2016-07-26 17:23:26 UTC) #13
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/2179353003/20001
4 years, 4 months ago (2016-07-26 17:25:09 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-07-26 17:58:38 UTC) #17
commit-bot: I haz the power
4 years, 4 months ago (2016-07-26 18:03:24 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/956d7aca53f56b5cff228af586ea2e5f895f2e9b
Cr-Commit-Position: refs/heads/master@{#407850}

Powered by Google App Engine
This is Rietveld 408576698