| Index: content/renderer/presentation/presentation_dispatcher.cc
|
| diff --git a/content/renderer/presentation/presentation_dispatcher.cc b/content/renderer/presentation/presentation_dispatcher.cc
|
| index f2029883f0b60fe6837857a73016d36a36decb50..0f504639b8bea3515629c802fa04f573896c9190 100644
|
| --- a/content/renderer/presentation/presentation_dispatcher.cc
|
| +++ b/content/renderer/presentation/presentation_dispatcher.cc
|
| @@ -111,6 +111,12 @@ void PresentationDispatcher::startSession(
|
| const blink::WebString& presentationUrl,
|
| const blink::WebString& presentationId,
|
| blink::WebPresentationSessionClientCallbacks* callback) {
|
| + startSession(presentationUrl, callback);
|
| +}
|
| +
|
| +void PresentationDispatcher::startSession(
|
| + const blink::WebString& presentationUrl,
|
| + blink::WebPresentationSessionClientCallbacks* callback) {
|
| DCHECK(callback);
|
| ConnectToPresentationServiceIfNeeded();
|
|
|
| @@ -119,7 +125,6 @@ void PresentationDispatcher::startSession(
|
| // to be destroyed so we transfer its ownership to the mojo callback.
|
| presentation_service_->StartSession(
|
| presentationUrl.utf8(),
|
| - presentationId.utf8(),
|
| base::Bind(&PresentationDispatcher::OnSessionCreated,
|
| base::Unretained(this),
|
| base::Owned(callback)));
|
|
|