| Index: third_party/WebKit/Source/modules/presentation/PresentationReceiverTest.cpp
|
| diff --git a/third_party/WebKit/Source/modules/presentation/PresentationReceiverTest.cpp b/third_party/WebKit/Source/modules/presentation/PresentationReceiverTest.cpp
|
| index a57a899b59ae8851939c6c12f425d23c0d432ba1..94ef57915c870fe8601f034e7c329c961b272729 100644
|
| --- a/third_party/WebKit/Source/modules/presentation/PresentationReceiverTest.cpp
|
| +++ b/third_party/WebKit/Source/modules/presentation/PresentationReceiverTest.cpp
|
| @@ -202,9 +202,12 @@ TEST_F(PresentationReceiverTest, TwoConnectionsNoEvent) {
|
| WebPresentationSessionInfo sessionInfo(KURL(KURL(), "http://example.com"),
|
| "id");
|
| // Receive first connection.
|
| - receiver->onReceiverConnectionAvailable(sessionInfo);
|
| + auto* connection1 = receiver->onReceiverConnectionAvailable(sessionInfo);
|
| + EXPECT_TRUE(connection1);
|
| +
|
| // Receive second connection.
|
| - receiver->onReceiverConnectionAvailable(sessionInfo);
|
| + auto* connection2 = receiver->onReceiverConnectionAvailable(sessionInfo);
|
| + EXPECT_TRUE(connection2);
|
|
|
| receiver->connectionList(scope.getScriptState());
|
| verifyConnectionListPropertyState(ScriptPromisePropertyBase::Resolved,
|
|
|