| Index: third_party/WebKit/Source/core/dom/CrossThreadTaskTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/CrossThreadTaskTest.cpp b/third_party/WebKit/Source/core/dom/CrossThreadTaskTest.cpp
|
| index 3cc2595901d913c1c65f080fbc11cfee87b4a5de..968590679f500dd4a783a1684ce7afc85063ff59 100644
|
| --- a/third_party/WebKit/Source/core/dom/CrossThreadTaskTest.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/CrossThreadTaskTest.cpp
|
| @@ -36,7 +36,7 @@
|
| }
|
| void TearDown() override
|
| {
|
| - ThreadHeap::collectGarbage(BlinkGC::NoHeapPointersOnStack, BlinkGC::GCWithSweep, BlinkGC::ForcedGC);
|
| + Heap::collectGarbage(BlinkGC::NoHeapPointersOnStack, BlinkGC::GCWithSweep, BlinkGC::ForcedGC);
|
| ASSERT_EQ(0, GCObject::s_counter);
|
| }
|
| };
|
| @@ -45,7 +45,7 @@
|
| {
|
| OwnPtr<ExecutionContextTask> task1 = createCrossThreadTask(&GCObject::run, new GCObject, new GCObject);
|
| OwnPtr<ExecutionContextTask> task2 = createCrossThreadTask(&GCObject::run, new GCObject, new GCObject);
|
| - ThreadHeap::collectGarbage(BlinkGC::NoHeapPointersOnStack, BlinkGC::GCWithSweep, BlinkGC::ForcedGC);
|
| + Heap::collectGarbage(BlinkGC::NoHeapPointersOnStack, BlinkGC::GCWithSweep, BlinkGC::ForcedGC);
|
| EXPECT_EQ(4, GCObject::s_counter);
|
| }
|
|
|
| @@ -53,7 +53,7 @@
|
| {
|
| OwnPtr<ExecutionContextTask> task1 = createCrossThreadTask(&functionWithGarbageCollected, new GCObject);
|
| OwnPtr<ExecutionContextTask> task2 = createCrossThreadTask(&functionWithGarbageCollected, new GCObject);
|
| - ThreadHeap::collectGarbage(BlinkGC::NoHeapPointersOnStack, BlinkGC::GCWithSweep, BlinkGC::ForcedGC);
|
| + Heap::collectGarbage(BlinkGC::NoHeapPointersOnStack, BlinkGC::GCWithSweep, BlinkGC::ForcedGC);
|
| EXPECT_EQ(2, GCObject::s_counter);
|
| }
|
|
|
| @@ -61,7 +61,7 @@
|
| {
|
| OwnPtr<ExecutionContextTask> task1 = createCrossThreadTask(&functionWithExecutionContext, new GCObject);
|
| OwnPtr<ExecutionContextTask> task2 = createCrossThreadTask(&functionWithExecutionContext, new GCObject);
|
| - ThreadHeap::collectGarbage(BlinkGC::NoHeapPointersOnStack, BlinkGC::GCWithSweep, BlinkGC::ForcedGC);
|
| + Heap::collectGarbage(BlinkGC::NoHeapPointersOnStack, BlinkGC::GCWithSweep, BlinkGC::ForcedGC);
|
| EXPECT_EQ(2, GCObject::s_counter);
|
| }
|
|
|
|
|