| Index: content/renderer/presentation/presentation_dispatcher.cc
|
| diff --git a/content/renderer/presentation/presentation_dispatcher.cc b/content/renderer/presentation/presentation_dispatcher.cc
|
| index 4ed789a02e6609672d7414700cc37ec71f045618..8627d4c2cc1941428161f8fe571ffd4b5027e7cb 100644
|
| --- a/content/renderer/presentation/presentation_dispatcher.cc
|
| +++ b/content/renderer/presentation/presentation_dispatcher.cc
|
| @@ -113,13 +113,6 @@ void PresentationDispatcher::updateAvailableChangeWatched(bool watched) {
|
|
|
| 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();
|
| @@ -359,6 +352,9 @@ void PresentationDispatcher::OnScreenAvailabilityUpdated(bool available) {
|
| for (auto observer : availability_observers_)
|
| observer->availabilityChanged(available);
|
|
|
| + for (auto observer : availability_observers_)
|
| + observer->availabilityChanged(available);
|
| +
|
| for (AvailabilityCallbacksMap::iterator iter(&availability_callbacks_);
|
| !iter.IsAtEnd(); iter.Advance()) {
|
| iter.GetCurrentValue()->onSuccess(new bool(available));
|
|
|