Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index 902c46797b8dd1a007ef67fe80f682b318816d09..8ef5f0251d631c6d631c233165d27751cf102b90 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -295,7 +295,7 @@ unsigned Internals::updateStyleAndReturnAffectedElementCount(ExceptionState& exc |
} |
unsigned beforeCount = document->styleEngine()->resolverAccessCount(); |
- document->updateStyleIfNeeded(); |
+ document->updateRenderTreeIfNeeded(); |
return document->styleEngine()->resolverAccessCount() - beforeCount; |
} |