Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index f51e43092cc526fc63eed7d8381fb872759d0b44..e2c56fc6d449f7d44ee47e1e879e14b6a7d28e69 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -305,7 +305,7 @@ unsigned Internals::needsLayoutCount(ExceptionState& exceptionState) const |
bool isPartial; |
unsigned needsLayoutObjects; |
unsigned totalObjects; |
- contextFrame->countObjectsNeedingLayout(needsLayoutObjects, totalObjects, isPartial); |
+ contextFrame->view()->countObjectsNeedingLayout(needsLayoutObjects, totalObjects, isPartial); |
return needsLayoutObjects; |
} |