Make pruning the memory cache when a resource becomes dead consistent in case of no-store
Make pruning the memory cache when a resource becomes dead consistent in case of no-store

Hard to find any reason why it was written the way it was. We just need
to make sure not use-after-free the Resource object but otherwise it is
fine pruning the cache after a no-store resource becomes dead.

Review URL: https://codereview.chromium.org/171303003

git-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@167454 bbb929c8-8fbe-4397-9dbb-9b2b20218538

axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk