| 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 8835ab96d485d5ec37c05e12f7c71b17a5392a27..7dcbd72cb7c3972f36e107b23aebf3cf84484d1f 100644
|
| --- a/third_party/WebKit/Source/platform/LifecycleContextTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/LifecycleContextTest.cpp
|
| @@ -102,7 +102,7 @@
|
| EXPECT_FALSE(observer->contextDestroyedCalled());
|
| context->notifyContextDestroyed();
|
| context = nullptr;
|
| - ThreadHeap::collectAllGarbage();
|
| + Heap::collectAllGarbage();
|
| EXPECT_EQ(observer->lifecycleContext(), static_cast<DummyContext*>(0));
|
| EXPECT_TRUE(observer->contextDestroyedCalled());
|
| }
|
| @@ -114,7 +114,7 @@
|
| observer->unobserve();
|
| context->notifyContextDestroyed();
|
| context = nullptr;
|
| - ThreadHeap::collectAllGarbage();
|
| + Heap::collectAllGarbage();
|
| EXPECT_EQ(observer->lifecycleContext(), static_cast<DummyContext*>(0));
|
| EXPECT_FALSE(observer->contextDestroyedCalled());
|
| }
|
| @@ -136,7 +136,7 @@
|
| context->notifyContextDestroyed();
|
| EXPECT_EQ(observer->innerObserver(), nullptr);
|
| context = nullptr;
|
| - ThreadHeap::collectAllGarbage();
|
| + Heap::collectAllGarbage();
|
| EXPECT_EQ(observer->lifecycleContext(), static_cast<DummyContext*>(0));
|
| EXPECT_TRUE(observer->contextDestroyedCalled());
|
| }
|
|
|