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

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

Issue 1693963003: Pass origin to StartObservingMediaSinks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Marks Review Fixes with URL changes Created 4 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
Index: chrome/browser/media/router/presentation_request.cc
diff --git a/chrome/browser/media/router/presentation_request.cc b/chrome/browser/media/router/presentation_request.cc
index 396fdf0f353d40b2901e03689562dd747ffb81f2..486903f750c30050e9cda19d46f5b1f76c2fc0f1 100644
--- a/chrome/browser/media/router/presentation_request.cc
+++ b/chrome/browser/media/router/presentation_request.cc
@@ -28,7 +28,7 @@ bool PresentationRequest::Equals(const PresentationRequest& other) const {
}
MediaSource PresentationRequest::GetMediaSource() const {
- return MediaSourceForPresentationUrl(presentation_url_);
+ return MediaSourceForPresentationUrl(presentation_url_, frame_url_.spec());
}
} // namespace media_router

Powered by Google App Engine
This is Rietveld 408576698