Index: media/mojo/services/media_apptest.cc |
diff --git a/media/mojo/services/media_apptest.cc b/media/mojo/services/media_apptest.cc |
index eb6dbd6d2ee69b8ccf8580f8fd5735f6d9de05b5..32ddda59f225f6dcb9deec22841f6c6537ad63e0 100644 |
--- a/media/mojo/services/media_apptest.cc |
+++ b/media/mojo/services/media_apptest.cc |
@@ -63,7 +63,7 @@ class MediaAppTest : public mojo::test::ApplicationTestBase { |
connection_->SetRemoteServiceProviderConnectionErrorHandler( |
base::Bind(&MediaAppTest::ConnectionClosed, base::Unretained(this))); |
- connection_->ConnectToService(&service_factory_); |
+ connection_->GetInterface(&service_factory_); |
service_factory_->CreateCdm(mojo::GetProxy(&cdm_)); |
service_factory_->CreateRenderer(mojo::GetProxy(&renderer_)); |