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

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

Issue 2962623002: [Media Router] Clean up OffscreenPresentationManager params. (Closed)
Patch Set: Addressed Bin's comments Created 3 years, 6 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_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/router/receiver_presentation_service_delegate_impl.cc
diff --git a/chrome/browser/media/router/receiver_presentation_service_delegate_impl.cc b/chrome/browser/media/router/receiver_presentation_service_delegate_impl.cc
index cbaf4b49c6314c342d00fec651640ee869a5a2e4..719850663961b2e50249d1afe108f29fdae73b09 100644
--- a/chrome/browser/media/router/receiver_presentation_service_delegate_impl.cc
+++ b/chrome/browser/media/router/receiver_presentation_service_delegate_impl.cc
@@ -69,7 +69,8 @@ void ReceiverPresentationServiceDelegateImpl::
const content::ReceiverConnectionAvailableCallback&
receiver_available_callback) {
offscreen_presentation_manager_->OnOffscreenPresentationReceiverCreated(
- presentation_id_, web_contents_->GetLastCommittedURL(),
+ content::PresentationInfo(web_contents_->GetLastCommittedURL(),
+ presentation_id_),
receiver_available_callback);
}
« no previous file with comments | « chrome/browser/media/router/presentation_service_delegate_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698