| Index: third_party/WebKit/Source/platform/LifecycleContextTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/LifecycleContextTest.cpp b/third_party/WebKit/Source/platform/LifecycleContextTest.cpp
|
| index 4d3fca75d924d9c730aad3b45d992cbb048e978c..0aee4ae705edcbf849fc6394821189928d5f4a91 100644
|
| --- a/third_party/WebKit/Source/platform/LifecycleContextTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/LifecycleContextTest.cpp
|
| @@ -56,10 +56,9 @@ class TestingObserver final
|
| return new TestingObserver(context);
|
| }
|
|
|
| - void contextDestroyed() override {
|
| - LifecycleObserver::contextDestroyed();
|
| + void contextDestroyed(DummyContext* destroyedContext) override {
|
| if (m_observerToRemoveOnDestruct) {
|
| - lifecycleContext()->removeObserver(m_observerToRemoveOnDestruct);
|
| + destroyedContext->removeObserver(m_observerToRemoveOnDestruct);
|
| m_observerToRemoveOnDestruct.clear();
|
| }
|
| m_contextDestroyedCalled = true;
|
|
|