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

Unified Diff: chrome/browser/media/router/media_router_mojo_impl.cc

Issue 1228863005: [MediaRouter] The minimal change to make everything build on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Typo in a chrome/test/BUILD.gn Created 5 years, 5 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: chrome/browser/media/router/media_router_mojo_impl.cc
diff --git a/chrome/browser/media/router/media_router_mojo_impl.cc b/chrome/browser/media/router/media_router_mojo_impl.cc
index 05ab81ff2fe0d5b70b438d22b440b225850a8d3c..65e158beadd752b518f606fa1b522b32a7d016e9 100644
--- a/chrome/browser/media/router/media_router_mojo_impl.cc
+++ b/chrome/browser/media/router/media_router_mojo_impl.cc
@@ -10,7 +10,7 @@
#include "base/memory/scoped_vector.h"
#include "base/observer_list.h"
#include "base/strings/stringprintf.h"
-#include "chrome/browser/media/router/media_router_mojo_impl_factory.h"
+#include "chrome/browser/media/router/media_router_factory.h"
#include "chrome/browser/media/router/media_router_type_converters.h"
#include "chrome/browser/media/router/media_routes_observer.h"
#include "chrome/browser/media/router/media_sinks_observer.h"
@@ -95,8 +95,8 @@ void MediaRouterMojoImpl::BindToRequest(
const std::string& extension_id,
content::BrowserContext* context,
mojo::InterfaceRequest<interfaces::MediaRouter> request) {
- MediaRouterMojoImpl* impl =
- MediaRouterMojoImplFactory::GetApiForBrowserContext(context);
+ MediaRouterMojoImpl* impl = static_cast<MediaRouterMojoImpl*>(
+ MediaRouterFactory::GetApiForBrowserContext(context));
DCHECK(impl);
impl->BindToMojoRequest(request.Pass(), extension_id);

Powered by Google App Engine
This is Rietveld 408576698