Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index d7660f7e23f465dbdfd615f0d8232b9421c083bd..c390156869391398e4ec03b42bee168c29d496b5 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; |
} |