Chromium Code Reviews| Index: chrome/browser/media/router/create_presentation_session_request.cc |
| diff --git a/chrome/browser/media/router/create_presentation_session_request.cc b/chrome/browser/media/router/create_presentation_session_request.cc |
| index 49993895b37a6977215d8bd321d31096fc9bb130..265b80d297a5180c7cf4304683b5b17b0abcb0ba 100644 |
| --- a/chrome/browser/media/router/create_presentation_session_request.cc |
| +++ b/chrome/browser/media/router/create_presentation_session_request.cc |
| @@ -38,10 +38,7 @@ void CreatePresentationSessionRequest::MaybeInvokeSuccessCallback( |
| const MediaRoute::Id& route_id) { |
| if (!cb_invoked_) { |
| // Overwrite presentation ID. |
|
mark a. foltz
2015/08/04 23:47:02
Update comment?
imcheng
2015/08/05 21:38:35
I partially reverted the code here since we still
|
| - success_cb_.Run(content::PresentationSessionInfo( |
| - presentation_info_.presentation_url, |
| - GetPresentationIdAndUrl(route_id).first), |
| - route_id); |
| + success_cb_.Run(presentation_info_, route_id); |
| cb_invoked_ = true; |
| } |
| } |