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

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

Issue 2727733004: [IndexedDB] Closing mojo connections when renderer quits (Closed)
Patch Set: tests running Created 3 years, 9 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 cef26797458336875c409006e14d2e522f03798d..a9762fe12cc696e17ea9339f8f655b77626b43e4 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -575,7 +575,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