diff options
author | michaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-01 02:25:16 +0000 |
---|---|---|
committer | michaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-01 02:25:16 +0000 |
commit | 21737472cbcee12ee98460a455a1a398e76df6cf (patch) | |
tree | a83f7d566c4a77161fc1e0d955797d7384fafa48 /webkit/dom_storage/dom_storage_host.cc | |
parent | 4b59a4240d02d872cb94b529cc38cee34360a5dd (diff) | |
download | chromium_src-21737472cbcee12ee98460a455a1a398e76df6cf.zip chromium_src-21737472cbcee12ee98460a455a1a398e76df6cf.tar.gz chromium_src-21737472cbcee12ee98460a455a1a398e76df6cf.tar.bz2 |
Integrate the new dom_storage backend into chromium DRT and test_shell.
- test_shell_webkit_init is used in test_shell
- test_webview_delegate is used test_shell
- test_webkit_platform_support is used in crDRT
- webkit_support is used in crDRT (by way of WebViewHost.cpp upstream)
(I'll have to land a seperate patch to alter WebViewHost.cpp)
This is behind a compile time enable flag defined in dom_storage_types,
the flag is undefined in this CL. It will be enabled in a future CL
when chromium is also ready to switch over to the new backend across
the board.
BUG=106763
Review URL: https://chromiumcodereview.appspot.com/9429029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124337 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/dom_storage/dom_storage_host.cc')
-rw-r--r-- | webkit/dom_storage/dom_storage_host.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/dom_storage/dom_storage_host.cc b/webkit/dom_storage/dom_storage_host.cc index dbbea32..cb119e2 100644 --- a/webkit/dom_storage/dom_storage_host.cc +++ b/webkit/dom_storage/dom_storage_host.cc @@ -21,6 +21,7 @@ DomStorageHost::~DomStorageHost() { 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 |