Index: Source/core/events/MouseRelatedEvent.cpp |
diff --git a/Source/core/events/MouseRelatedEvent.cpp b/Source/core/events/MouseRelatedEvent.cpp |
index 581059e19646252611909d4932d74a7cebee22ce..7f5a5f490f1f002e078221d9a57e77f94e71860f 100644 |
--- a/Source/core/events/MouseRelatedEvent.cpp |
+++ b/Source/core/events/MouseRelatedEvent.cpp |
@@ -28,7 +28,7 @@ |
#include "core/frame/FrameView.h" |
#include "core/frame/LocalFrame.h" |
#include "core/layout/Layer.h" |
-#include "core/rendering/RenderObject.h" |
+#include "core/layout/LayoutObject.h" |
namespace blink { |
@@ -143,7 +143,7 @@ void MouseRelatedEvent::computeRelativePosition() |
targetNode->document().updateLayoutIgnorePendingStylesheets(); |
// Adjust offsetLocation to be relative to the target's position. |
- if (RenderObject* r = targetNode->renderer()) { |
+ if (LayoutObject* r = targetNode->renderer()) { |
FloatPoint localPos = r->absoluteToLocal(FloatPoint(absoluteLocation()), UseTransforms); |
m_offsetLocation = roundedLayoutPoint(localPos); |
float scaleFactor = 1 / pageZoomFactor(this); |