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

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

Issue 2326913003: Privatize StrongBinding lifetime management (Closed)
Patch Set: rebase Created 4 years, 3 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/mojo_video_decoder_service.h ('k') | media/mojo/services/service_factory_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/mojo_video_decoder_service.cc
diff --git a/media/mojo/services/mojo_video_decoder_service.cc b/media/mojo/services/mojo_video_decoder_service.cc
index 84a41d5e7bae05ac17f764fb92bda7a2e4c178f1..0c43a589c204aa4e951d8056b2d71c711e7bf03e 100644
--- a/media/mojo/services/mojo_video_decoder_service.cc
+++ b/media/mojo/services/mojo_video_decoder_service.cc
@@ -22,11 +22,8 @@
namespace media {
MojoVideoDecoderService::MojoVideoDecoderService(
- mojo::InterfaceRequest<mojom::VideoDecoder> request,
MojoMediaClient* mojo_media_client)
- : binding_(this, std::move(request)),
- mojo_media_client_(mojo_media_client),
- weak_factory_(this) {
+ : mojo_media_client_(mojo_media_client), weak_factory_(this) {
weak_this_ = weak_factory_.GetWeakPtr();
}
« no previous file with comments | « media/mojo/services/mojo_video_decoder_service.h ('k') | media/mojo/services/service_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698