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

Unified Diff: webkit/dom_storage/dom_storage_context_unittest.cc

Issue 11228005: Fix mem leaks in DomStorageContextTest. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/valgrind/memcheck/suppressions.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/dom_storage/dom_storage_context_unittest.cc
diff --git a/webkit/dom_storage/dom_storage_context_unittest.cc b/webkit/dom_storage/dom_storage_context_unittest.cc
index 0701bba8ba384520e742b320413aed0090d68520..6dc174a5ec0125c6b6d28aadce98a5abf7c15066 100644
--- a/webkit/dom_storage/dom_storage_context_unittest.cc
+++ b/webkit/dom_storage/dom_storage_context_unittest.cc
@@ -254,6 +254,9 @@ TEST_F(DomStorageContextTest, DeleteSessionStorage) {
read_value = area->GetItem(kKey);
EXPECT_TRUE(read_value.is_null());
dom_namespace->CloseStorageArea(area);
+ context_->Shutdown();
+ context_ = NULL;
+ MessageLoop::current()->RunAllPending();
}
} // namespace dom_storage
« no previous file with comments | « tools/valgrind/memcheck/suppressions.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698