Index: Source/core/layout/LayoutObject.cpp |
diff --git a/Source/core/layout/LayoutObject.cpp b/Source/core/layout/LayoutObject.cpp |
index b2dd0cfcc2827188b9e9e9a21935dcff4e8e59ac..83943cce5661f85182b54450b38060c2b1f98f15 100644 |
--- a/Source/core/layout/LayoutObject.cpp |
+++ b/Source/core/layout/LayoutObject.cpp |
@@ -676,9 +676,9 @@ LayoutFlowThread* LayoutObject::locateFlowThreadContainingBlock() const |
return nullptr; |
if (curr->isLayoutFlowThread()) |
return toLayoutFlowThread(curr); |
- LayoutObject* containingBlock = curr->containingBlock(); |
+ LayoutObject* container = curr->container(); |
curr = curr->parent(); |
- while (curr != containingBlock) { |
+ while (curr != container) { |
if (curr->isLayoutFlowThread()) { |
// The nearest ancestor flow thread isn't in our containing block chain. Then we |
// aren't really part of any flow thread, and we should stop looking. This happens |