[SessionStorage] Fixed re-use of data maps that were purged
When PurgeUnusedAreas is called, the unbound areas are destroyed. If one of these areas was holding onto a data map that was cloned to another area in a different namespace, a re-bind to that area created a new map instead of using the already-existing one. This change allows the SessionStorageNamespaceImpl to look up maps that are already in use to possibly re-use a map that already exists. R=mek@chromium.org Bug: 866887 Change-Id: Ifdb14278bb223bbdcb877e4fddccd158968fb575 Reviewed-on: https://chromium-review.googlesource.com/1153770 Commit-Queue: Daniel Murphy <dmurph@chromium.org> Reviewed-by:Marijn Kruisselbrink <mek@chromium.org> Cr-Commit-Position: refs/heads/master@{#578857}
Showing
Please register or sign in to comment