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

Unified Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 2727733004: [IndexedDB] Closing mojo connections when renderer quits (Closed)
Patch Set: comments Created 3 years, 8 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/renderer_host/render_process_host_impl.h
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
index 4405d667996f47a12fcb91145c8edf5d2647c2b9..f0bcf5cb948d39b6f7633348fc896f5a40af477c 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -583,7 +583,8 @@ class CONTENT_EXPORT RenderProcessHostImpl
// The memory allocator, if any, in which the renderer will write its metrics.
std::unique_ptr<base::SharedPersistentMemoryAllocator> metrics_allocator_;
- scoped_refptr<IndexedDBDispatcherHost> indexed_db_factory_;
+ std::unique_ptr<IndexedDBDispatcherHost, BrowserThread::DeleteOnIOThread>
+ indexed_db_factory_;
bool channel_connected_;
bool sent_render_process_ready_;

Powered by Google App Engine
This is Rietveld 408576698