Index: third_party/WebKit/Source/web/tests/WebViewTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/WebViewTest.cpp b/third_party/WebKit/Source/web/tests/WebViewTest.cpp |
index 84015c60184c304ad19de574b34ba6aca54fb62c..9dd1cc8bcf5ce634d155c413f6c00f9491c4d3de 100644 |
--- a/third_party/WebKit/Source/web/tests/WebViewTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/WebViewTest.cpp |
@@ -2495,7 +2495,7 @@ TEST_F(WebViewTest, DeleteElementWithRegisteredHandler) |
// checking below. We do a precise GC (collectAllGarbage does not scan the stack) |
// to ensure the div element dies. This is also why the Document is in a Persistent |
// since we want that to stay around. |
- Heap::collectAllGarbage(); |
+ ThreadHeap::collectAllGarbage(); |
EXPECT_FALSE(registry.hasEventHandlers(EventHandlerRegistry::ScrollEvent)); |
} |