Index: content/child/indexed_db/webidbcursor_impl.cc |
diff --git a/content/child/indexed_db/webidbcursor_impl.cc b/content/child/indexed_db/webidbcursor_impl.cc |
index 10485cda2d0ae6d8fa0164331dcd455bc1fc9f12..2918bf11081cccc6f6ae198d49b05a2d51ecffbb 100644 |
--- a/content/child/indexed_db/webidbcursor_impl.cc |
+++ b/content/child/indexed_db/webidbcursor_impl.cc |
@@ -297,9 +297,7 @@ void WebIDBCursorImpl::IOThreadHelper::PrefetchReset( |
CallbacksAssociatedPtrInfo WebIDBCursorImpl::IOThreadHelper::GetCallbacksProxy( |
std::unique_ptr<IndexedDBCallbacksImpl> callbacks) { |
CallbacksAssociatedPtrInfo ptr_info; |
- indexed_db::mojom::CallbacksAssociatedRequest request; |
- cursor_.associated_group()->CreateAssociatedInterface( |
- mojo::AssociatedGroup::WILL_PASS_PTR, &ptr_info, &request); |
+ auto request = mojo::MakeRequest(&ptr_info); |
mojo::MakeStrongAssociatedBinding(std::move(callbacks), std::move(request)); |
return ptr_info; |
} |