Index: Source/WebCore/rendering/RenderObject.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderObject.cpp (revision 109792) |
+++ Source/WebCore/rendering/RenderObject.cpp (working copy) |
@@ -2077,6 +2077,15 @@ |
return transformState.lastPlanarQuad(); |
} |
+FloatPoint RenderObject::localToContainerPoint(const FloatPoint& localPoint, RenderBoxModelObject* repaintContainer, bool fixed, bool* wasFixed) const |
+{ |
+ TransformState transformState(TransformState::ApplyTransformDirection, localPoint); |
+ mapLocalToContainer(repaintContainer, fixed, true, transformState, wasFixed); |
+ transformState.flatten(); |
+ |
+ return transformState.lastPlanarPoint(); |
+} |
+ |
LayoutSize RenderObject::offsetFromContainer(RenderObject* o, const LayoutPoint& point) const |
{ |
ASSERT(o == container()); |