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

Unified Diff: webkit/support/webkit_support.cc

Issue 12093086: Avoid leaking TestWebIDBFactory instances, and reset (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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 | « webkit/support/test_webkit_platform_support.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/support/webkit_support.cc
===================================================================
--- webkit/support/webkit_support.cc (revision 179816)
+++ webkit/support/webkit_support.cc (working copy)
@@ -192,7 +192,9 @@
#if defined(OS_ANDROID)
media_player_manager_->ReleaseMediaResources();
#endif
- WebKit::setIDBFactory(webkit_platform_support_->idbFactory());
+ webkit_platform_support_->ResetIDBFactory();
+ // TODO(darin): Uncomment this once DRT calls ResetTestEnvironment().
+ //WebKit::setIDBFactory(webkit_platform_support_->idbFactory());
}
TestWebKitPlatformSupport* webkit_platform_support() const {
« no previous file with comments | « webkit/support/test_webkit_platform_support.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698