Index: third_party/WebKit/Source/core/dom/StyleEngineTest.cpp |
diff --git a/third_party/WebKit/Source/core/dom/StyleEngineTest.cpp b/third_party/WebKit/Source/core/dom/StyleEngineTest.cpp |
index f40e71e9c02545d88505e3122a8c3dc8e1c6da10..440b7a824da5dbe648bedd182b8aeccdf7dd1506 100644 |
--- a/third_party/WebKit/Source/core/dom/StyleEngineTest.cpp |
+++ b/third_party/WebKit/Source/core/dom/StyleEngineTest.cpp |
@@ -93,7 +93,7 @@ |
element = nullptr; |
// Garbage collection should clear the weak reference in the StyleSheetContents cache. |
- ThreadState::current()-> collectAllGarbage(); |
+ ThreadHeap::collectAllGarbage(); |
element = HTMLStyleElement::create(document(), false); |
sheet1 = styleEngine().createSheet(element, sheetText, minPos, context); |