Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1978)

Unified Diff: Source/modules/presentation/PresentationSessionClientCallbacks.cpp

Issue 1209473003: Marks session as connected upon StartSession success (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/presentation/PresentationSessionClientCallbacks.cpp
diff --git a/Source/modules/presentation/PresentationSessionClientCallbacks.cpp b/Source/modules/presentation/PresentationSessionClientCallbacks.cpp
index 10033511af7fd644826875b4e18c519f6635feb6..53d58d48176541e575a4b50e5b350772d88fdade 100644
--- a/Source/modules/presentation/PresentationSessionClientCallbacks.cpp
+++ b/Source/modules/presentation/PresentationSessionClientCallbacks.cpp
@@ -39,7 +39,8 @@ void PresentationSessionClientCallbacks::onSuccess(WebPresentationSessionClient*
return;
}
- m_resolver->resolve(PresentationSession::take(client, m_presentation));
+ PresentationSession* session = PresentationSession::take(client, m_presentation, WebPresentationSessionState::Connected);
+ m_resolver->resolve(session);
}
void PresentationSessionClientCallbacks::onError(WebPresentationError* error)

Powered by Google App Engine
This is Rietveld 408576698