Chromium Code Reviews| 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_. |