Index: Source/WebCore/rendering/RenderObject.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderObject.cpp (revision 141136) |
+++ Source/WebCore/rendering/RenderObject.cpp (working copy) |
@@ -2063,6 +2063,14 @@ |
return transformState.lastPlanarPoint(); |
} |
+FloatQuad RenderObject::absoluteToLocalQuad(const FloatQuad& quad, MapCoordinatesFlags mode) const |
+{ |
+ TransformState transformState(TransformState::UnapplyInverseTransformDirection, quad.boundingBox().center(), quad); |
+ mapAbsoluteToLocalPoint(mode, transformState); |
+ transformState.flatten(); |
+ return transformState.lastPlanarQuad(); |
+} |
+ |
void RenderObject::mapLocalToContainer(const RenderLayerModelObject* repaintContainer, TransformState& transformState, MapCoordinatesFlags mode, bool* wasFixed) const |
{ |
if (repaintContainer == this) |