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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 79263003: Merge 233505 "Tear down IndexedDB dispatcher before WebKit is to..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1650/src/
Patch Set: Created 7 years, 1 month 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
Index: content/renderer/render_thread_impl.cc
===================================================================
--- content/renderer/render_thread_impl.cc (revision 236350)
+++ content/renderer/render_thread_impl.cc (working copy)
@@ -447,6 +447,10 @@
input_event_filter_ = NULL;
}
+ // Ramp down IDB before we ramp down WebKit (and V8), since IDB classes might
+ // hold pointers to V8 objects (e.g., via pending requests).
+ main_thread_indexed_db_dispatcher_.reset();
+
if (webkit_platform_support_)
WebKit::shutdown();
« no previous file with comments | « content/browser/indexed_db/indexed_db_browsertest.cc ('k') | content/test/data/indexeddb/shutdown_with_requests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698