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

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

Issue 2433283005: [Media Router] Use origin instead of URL for frame. (Closed)
Patch Set: Remove DCHECK in media_router_ui.cc Created 4 years, 2 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 | « chrome/browser/media/router/presentation_service_delegate_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 21fc8393995fbcbcf938e882865df3420030fbf0..3374fc27a4c5285c2972b246aa0fd5e50e5f571d 100644
--- a/chrome/browser/ui/webui/media_router/media_router_ui.cc
+++ b/chrome/browser/ui/webui/media_router/media_router_ui.cc
@@ -421,8 +421,6 @@ bool MediaRouterUI::SetRouteParameters(
current_route_request_id_ = ++route_request_counter_;
*origin = for_default_source ? presentation_request_->frame_url().GetOrigin()
: GURL(chrome::kChromeUIMediaRouterURL);
- DCHECK(origin->is_valid());
-
DVLOG(1) << "DoCreateRoute: origin: " << *origin;
// There are 3 cases. In cases (1) and (3) the MediaRouterUI will need to be
« no previous file with comments | « chrome/browser/media/router/presentation_service_delegate_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698