Index: webkit/dom_storage/dom_storage_host.cc |
=================================================================== |
--- webkit/dom_storage/dom_storage_host.cc (revision 122851) |
+++ webkit/dom_storage/dom_storage_host.cc (working copy) |
@@ -21,6 +21,7 @@ |
AreaMap::const_iterator it = connections_.begin(); |
for (; it != connections_.end(); ++it) |
it->second.namespace_->CloseStorageArea(it->second.area_); |
+ connections_.clear(); // Clear prior to releasing the context_ |
} |
// TODO(michaeln): have the caller pass in the 'connection_id' value |