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

Unified Diff: chrome/browser/ui/webui/media_router/media_router_ui.cc

Issue 1507743005: [MediaRouter] Renames CloseRoute() to Terminate() and creates DetachRoute() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Forgot a call to DetachRoute! Created 5 years 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/ui/webui/media_router/media_router_ui.cc
diff --git a/chrome/browser/ui/webui/media_router/media_router_ui.cc b/chrome/browser/ui/webui/media_router/media_router_ui.cc
index 6fa422e450464805deb1e2045fa53c390e1dff2b..79c27a98d000edc6374c17c0105f8e937cc41a2b 100644
--- a/chrome/browser/ui/webui/media_router/media_router_ui.cc
+++ b/chrome/browser/ui/webui/media_router/media_router_ui.cc
@@ -350,7 +350,7 @@ bool MediaRouterUI::CreateRoute(const MediaSink::Id& sink_id,
}
void MediaRouterUI::CloseRoute(const MediaRoute::Id& route_id) {
- router_->CloseRoute(route_id);
+ router_->TerminateRoute(route_id);
}
void MediaRouterUI::AddIssue(const Issue& issue) { router_->AddIssue(issue); }

Powered by Google App Engine
This is Rietveld 408576698