| Index: third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
|
| diff --git a/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp b/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
|
| index be94c78b5cbe27f3800a4a7eeafc31a025dc6703..404deb1c4ac2521ab549785626876551b5e39f38 100644
|
| --- a/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
|
| +++ b/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
|
| @@ -200,6 +200,9 @@ PresentationConnection* PresentationConnection::take(
|
| createSameThreadTask(&PresentationConnection::dispatchEventAsync,
|
| wrapPersistent(request), wrapPersistent(event)));
|
|
|
| + // Fire onconnect event asynchronously, after onconnectionavailable.
|
| + connection->didChangeState(WebPresentationConnectionState::Connected);
|
| +
|
| return connection;
|
| }
|
|
|
|
|