| Index: third_party/WebKit/Source/core/dom/SuspendableObjectTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/SuspendableObjectTest.cpp b/third_party/WebKit/Source/core/dom/SuspendableObjectTest.cpp
|
| index 5f975e236c10f1ebc3c4d3535c83483d2e3e7a2b..29d5ea70490e1e1988c47f757fc968d8fce77d6f 100644
|
| --- a/third_party/WebKit/Source/core/dom/SuspendableObjectTest.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/SuspendableObjectTest.cpp
|
| @@ -51,7 +51,7 @@ class MockSuspendableObject final
|
|
|
| MOCK_METHOD0(suspend, void());
|
| MOCK_METHOD0(resume, void());
|
| - MOCK_METHOD0(contextDestroyed, void());
|
| + MOCK_METHOD1(contextDestroyed, void(ExecutionContext*));
|
| };
|
|
|
| class SuspendableObjectTest : public ::testing::Test {
|
| @@ -102,7 +102,7 @@ TEST_F(SuspendableObjectTest, MoveToSuspendedDocument) {
|
| TEST_F(SuspendableObjectTest, MoveToStoppedDocument) {
|
| destDocument().shutdown();
|
|
|
| - EXPECT_CALL(suspendableObject(), contextDestroyed());
|
| + EXPECT_CALL(suspendableObject(), contextDestroyed(&destDocument()));
|
| suspendableObject().didMoveToNewExecutionContext(&destDocument());
|
| }
|
|
|
|
|