| Index: third_party/WebKit/Source/core/events/MouseRelatedEvent.cpp
|
| diff --git a/third_party/WebKit/Source/core/events/MouseRelatedEvent.cpp b/third_party/WebKit/Source/core/events/MouseRelatedEvent.cpp
|
| index e9b6c3489efc16805d1bf888e92ea170a9bdb5bd..ffb097caf6aeb668664fea63eed7c2e6dcb97828 100644
|
| --- a/third_party/WebKit/Source/core/events/MouseRelatedEvent.cpp
|
| +++ b/third_party/WebKit/Source/core/events/MouseRelatedEvent.cpp
|
| @@ -143,7 +143,7 @@ void MouseRelatedEvent::computeRelativePosition()
|
| m_offsetLocation = m_pageLocation;
|
|
|
| // Must have an updated layout tree for this math to work correctly.
|
| - targetNode->document().updateLayoutIgnorePendingStylesheets();
|
| + targetNode->document().updateStyleAndLayoutIgnorePendingStylesheets();
|
|
|
| // Adjust offsetLocation to be relative to the target's padding box.
|
| if (LayoutObject* r = targetNode->layoutObject()) {
|
|
|