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

Unified Diff: chrome/browser/media/android/router/media_router_android.cc

Issue 2666873006: [Media Router] Convert to use typemaps for media_router.mojom. (Closed)
Patch Set: Remove DCHECK since tests are hitting the code path 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 | « no previous file | chrome/browser/media/router/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/android/router/media_router_android.cc
diff --git a/chrome/browser/media/android/router/media_router_android.cc b/chrome/browser/media/android/router/media_router_android.cc
index 62e132b8ccc9d1bf6106cdc9a72882ac1646af62..91cae709091fe5e8e95c1660da7ee28fe03b6a24 100644
--- a/chrome/browser/media/android/router/media_router_android.cc
+++ b/chrome/browser/media/android/router/media_router_android.cc
@@ -355,8 +355,8 @@ void MediaRouterAndroid::OnRouteCreated(
jis_local, std::string(),
true); // TODO(avayvod): Populate for_display.
- std::unique_ptr<RouteRequestResult> result = RouteRequestResult::FromSuccess(
- base::MakeUnique<MediaRoute>(route), request->presentation_id);
+ std::unique_ptr<RouteRequestResult> result =
+ RouteRequestResult::FromSuccess(route, request->presentation_id);
for (const MediaRouteResponseCallback& callback : request->callbacks)
callback.Run(*result);
« no previous file with comments | « no previous file | chrome/browser/media/router/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698