Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
index 469abdb822db5ad44e0c20c5cb6577c57de72227..a7f6a849e5b5bb1e5ecbc8527ca5a74fa670fbe4 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
@@ -2297,10 +2297,10 @@ void LayoutObject::mapAncestorToLocal(const LayoutBoxModelObject* ancestor, Tran |
o->mapAncestorToLocal(ancestor, transformState, mode); |
LayoutSize containerOffset = offsetFromContainer(o); |
- if (o->isLayoutFlowThread()) { |
+ if (isLayoutFlowThread()) { |
// Descending into a flow thread. Convert to the local coordinate space, i.e. flow thread coordinates. |
LayoutPoint visualPoint = LayoutPoint(transformState.mappedPoint()); |
- transformState.move(visualPoint - toLayoutFlowThread(o)->visualPointToFlowThreadPoint(visualPoint)); |
+ transformState.move(visualPoint - toLayoutFlowThread(this)->visualPointToFlowThreadPoint(visualPoint)); |
} |
bool preserve3D = mode & UseTransforms && (o->style()->preserves3D() || style()->preserves3D()); |