| Index: chrome/browser/media/router/presentation_service_delegate_impl.cc
|
| diff --git a/chrome/browser/media/router/presentation_service_delegate_impl.cc b/chrome/browser/media/router/presentation_service_delegate_impl.cc
|
| index e29a9057d8c2ed3661a075a7aaa743ec3b4b43f6..6e8f811648c07ba5ba361c950187c69294c0d29c 100644
|
| --- a/chrome/browser/media/router/presentation_service_delegate_impl.cc
|
| +++ b/chrome/browser/media/router/presentation_service_delegate_impl.cc
|
| @@ -749,20 +749,19 @@ void PresentationServiceDelegateImpl::JoinSession(
|
| const std::string& presentation_id,
|
| const content::PresentationSessionStartedCallback& success_cb,
|
| const content::PresentationSessionErrorCallback& error_cb) {
|
| - bool off_the_record = web_contents_->GetBrowserContext()->IsOffTheRecord();
|
| + bool incognito = web_contents_->GetBrowserContext()->IsOffTheRecord();
|
| std::vector<MediaRouteResponseCallback> route_response_callbacks;
|
| route_response_callbacks.push_back(base::Bind(
|
| &PresentationServiceDelegateImpl::OnJoinRouteResponse,
|
| weak_factory_.GetWeakPtr(), render_process_id, render_frame_id,
|
| content::PresentationSessionInfo(presentation_url, presentation_id),
|
| success_cb, error_cb));
|
| - router_->JoinRoute(MediaSourceForPresentationUrl(presentation_url).id(),
|
| - presentation_id,
|
| - GetLastCommittedURLForFrame(
|
| - RenderFrameHostId(render_process_id, render_frame_id))
|
| - .GetOrigin(),
|
| - web_contents_, route_response_callbacks, base::TimeDelta(),
|
| - off_the_record);
|
| + router_->JoinRoute(
|
| + MediaSourceForPresentationUrl(presentation_url).id(), presentation_id,
|
| + GetLastCommittedURLForFrame(
|
| + RenderFrameHostId(render_process_id, render_frame_id))
|
| + .GetOrigin(),
|
| + web_contents_, route_response_callbacks, base::TimeDelta(), incognito);
|
| }
|
|
|
| void PresentationServiceDelegateImpl::CloseConnection(
|
|
|