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

Unified Diff: content/browser/indexed_db/cursor_impl.h

Issue 2727733004: [IndexedDB] Closing mojo connections when renderer quits (Closed)
Patch Set: Created 3 years, 10 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/cursor_impl.h
diff --git a/content/browser/indexed_db/cursor_impl.h b/content/browser/indexed_db/cursor_impl.h
index 69254289cd27628972935caaf6d7bd1ea6c3acc8..d2634908f74c32e8583f42aef9d02242c7854f5c 100644
--- a/content/browser/indexed_db/cursor_impl.h
+++ b/content/browser/indexed_db/cursor_impl.h
@@ -24,7 +24,7 @@ class CursorImpl : public ::indexed_db::mojom::Cursor {
public:
CursorImpl(std::unique_ptr<IndexedDBCursor> cursor,
const url::Origin& origin,
- scoped_refptr<IndexedDBDispatcherHost> dispatcher_host);
+ IndexedDBDispatcherHost* dispatcher_host);
~CursorImpl() override;
// ::indexed_db::mojom::Cursor implementation
@@ -47,7 +47,7 @@ class CursorImpl : public ::indexed_db::mojom::Cursor {
class IDBThreadHelper;
IDBThreadHelper* helper_;
- scoped_refptr<IndexedDBDispatcherHost> dispatcher_host_;
+ IndexedDBDispatcherHost* dispatcher_host_;
Reilly Grant (use Gerrit) 2017/03/03 01:59:59 Add comment: // This raw pointer is safe because
dmurph 2017/03/04 00:39:41 Done.
const url::Origin origin_;
scoped_refptr<base::SingleThreadTaskRunner> idb_runner_;
« no previous file with comments | « no previous file | content/browser/indexed_db/cursor_impl.cc » ('j') | content/browser/indexed_db/database_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698