| Index: Source/core/dom/ActiveDOMObjectTest.cpp
|
| diff --git a/Source/core/dom/ActiveDOMObjectTest.cpp b/Source/core/dom/ActiveDOMObjectTest.cpp
|
| index 4d3220ec17b63fdc23a3dbf0c40312d25abbc71d..db6e84b0ebf053b16857a9931c12c8c370005a7c 100644
|
| --- a/Source/core/dom/ActiveDOMObjectTest.cpp
|
| +++ b/Source/core/dom/ActiveDOMObjectTest.cpp
|
| @@ -104,7 +104,7 @@ TEST_F(ActiveDOMObjectTest, MoveToSuspendedDocument)
|
|
|
| TEST_F(ActiveDOMObjectTest, MoveToStoppedDocument)
|
| {
|
| - destDocument().detach();
|
| + destDocument().prepareForDestruction();
|
|
|
| EXPECT_CALL(activeDOMObject(), stop());
|
| activeDOMObject().didMoveToNewExecutionContext(&destDocument());
|
|
|