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

Unified Diff: content/browser/indexed_db/indexed_db_dispatcher_host.cc

Issue 2386683003: IndexedDB: Ignore open/delete requests from terminated renderers. (Closed)
Patch Set: Created 4 years, 3 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
Index: content/browser/indexed_db/indexed_db_dispatcher_host.cc
diff --git a/content/browser/indexed_db/indexed_db_dispatcher_host.cc b/content/browser/indexed_db/indexed_db_dispatcher_host.cc
index 639bee5fe8511f7c4285416ca70a6f75012de3ab..793a0deec4855f1fd5037f2e45919bdcf6b30770 100644
--- a/content/browser/indexed_db/indexed_db_dispatcher_host.cc
+++ b/content/browser/indexed_db/indexed_db_dispatcher_host.cc
@@ -95,6 +95,8 @@ void IndexedDBDispatcherHost::ResetDispatcherHosts() {
// messages are processed.
DCHECK(indexed_db_context_->TaskRunner()->RunsTasksOnCurrentThread());
+ is_open_ = false;
cmumford 2016/10/03 18:39:26 Do you need |is_open|, or can you just use databas
jsbell 2016/10/03 19:28:37 It proceeds the CloseAll() which can trigger side-
+
// Note that we explicitly separate CloseAll() from destruction of the
// DatabaseDispatcherHost, since CloseAll() can invoke callbacks which need to
// be dispatched through database_dispatcher_host_.

Powered by Google App Engine
This is Rietveld 408576698