Index: Source/core/page/EventHandler.cpp |
diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp |
index 3488caa3d881fa78ea6a9c99100944e5d8afca11..dba4986351d23eef481ba5f3effc6195aa5d98aa 100644 |
--- a/Source/core/page/EventHandler.cpp |
+++ b/Source/core/page/EventHandler.cpp |
@@ -3165,8 +3165,7 @@ bool EventHandler::tryStartDrag(const MouseEventWithHitTestResults& event) |
// image and offset |
if (dragState().m_dragType == DragSourceActionDHTML) { |
if (RenderObject* renderer = dragState().m_dragSrc->renderer()) { |
- // FIXME: This doesn't work correctly with transforms. |
- FloatPoint absPos = renderer->localToAbsolute(); |
+ FloatPoint absPos = renderer->localToAbsolute(FloatPoint(), UseTransforms); |
IntSize delta = m_mouseDownPos - roundedIntPoint(absPos); |
dragState().m_dragClipboard->setDragImageElement(dragState().m_dragSrc.get(), IntPoint(delta)); |
} else { |