summaryrefslogtreecommitdiffstats
path: root/chrome/browser/media/router/create_presentation_session_request.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/media/router/create_presentation_session_request.cc')
-rw-r--r--chrome/browser/media/router/create_presentation_session_request.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/media/router/create_presentation_session_request.cc b/chrome/browser/media/router/create_presentation_session_request.cc
index 4999389..1f1e6e9 100644
--- a/chrome/browser/media/router/create_presentation_session_request.cc
+++ b/chrome/browser/media/router/create_presentation_session_request.cc
@@ -35,12 +35,12 @@ CreatePresentationSessionRequest::~CreatePresentationSessionRequest() {
}
void CreatePresentationSessionRequest::MaybeInvokeSuccessCallback(
+ const std::string& presentation_id,
const MediaRoute::Id& route_id) {
if (!cb_invoked_) {
// Overwrite presentation ID.
success_cb_.Run(content::PresentationSessionInfo(
- presentation_info_.presentation_url,
- GetPresentationIdAndUrl(route_id).first),
+ presentation_info_.presentation_url, presentation_id),
route_id);
cb_invoked_ = true;
}