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

Unified Diff: media/mojo/services/interface_factory_impl.cc

Issue 2716873003: Replaces media::StrongBindingSet with mojo::StrongBindingSet. (Closed)
Patch Set: fixes build 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
« no previous file with comments | « media/mojo/services/interface_factory_impl.h ('k') | media/mojo/services/strong_binding_set.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/interface_factory_impl.cc
diff --git a/media/mojo/services/interface_factory_impl.cc b/media/mojo/services/interface_factory_impl.cc
index 5277a8e418d8fa47d1d039dea5d90cdc75b58ad1..143e5b6e2f0d695dd0717af56c450a1b99511c47 100644
--- a/media/mojo/services/interface_factory_impl.cc
+++ b/media/mojo/services/interface_factory_impl.cc
@@ -115,15 +115,15 @@ void InterfaceFactoryImpl::CreateRenderer(
MojoRendererService* mojo_renderer_service_ptr = mojo_renderer_service.get();
- StrongBindingSet<mojom::Renderer>::BindingId binding_id =
- renderer_bindings_.AddBinding(std::move(mojo_renderer_service),
- std::move(request));
+ mojo::BindingId binding_id = renderer_bindings_.AddBinding(
+ std::move(mojo_renderer_service), std::move(request));
// base::Unretained() is safe because the callback will be fired by
// |mojo_renderer_service|, which is owned by |renderer_bindings_|.
- mojo_renderer_service_ptr->set_bad_message_cb(base::Bind(
- base::IgnoreResult(&StrongBindingSet<mojom::Renderer>::RemoveBinding),
- base::Unretained(&renderer_bindings_), binding_id));
+ mojo_renderer_service_ptr->set_bad_message_cb(
+ base::Bind(base::IgnoreResult(
+ &mojo::StrongBindingSet<mojom::Renderer>::RemoveBinding),
+ base::Unretained(&renderer_bindings_), binding_id));
#endif // defined(ENABLE_MOJO_RENDERER)
}
« no previous file with comments | « media/mojo/services/interface_factory_impl.h ('k') | media/mojo/services/strong_binding_set.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698