| Index: sky/engine/core/events/MouseRelatedEvent.cpp
|
| diff --git a/sky/engine/core/events/MouseRelatedEvent.cpp b/sky/engine/core/events/MouseRelatedEvent.cpp
|
| index 4bbbf2a891e0692bb6ffee5bfe2bc6557f717f2c..64d2f4444e6c6194a2ced829ea34896ced9d9417 100644
|
| --- a/sky/engine/core/events/MouseRelatedEvent.cpp
|
| +++ b/sky/engine/core/events/MouseRelatedEvent.cpp
|
| @@ -108,7 +108,7 @@ void MouseRelatedEvent::computeRelativePosition()
|
| m_offsetLocation = m_pageLocation;
|
|
|
| // Must have an updated render tree for this math to work correctly.
|
| - targetNode->document().updateLayoutIgnorePendingStylesheets();
|
| + targetNode->document().updateLayout();
|
|
|
| // Adjust offsetLocation to be relative to the target's position.
|
| if (RenderObject* r = targetNode->renderer()) {
|
|
|