Index: Source/core/layout/LayoutView.cpp |
diff --git a/Source/core/layout/LayoutView.cpp b/Source/core/layout/LayoutView.cpp |
index 1bfeeedb30ec1fc47fac97f500c5db8c9f184e6f..1c2cf985cbdc3195c041b99b60727cfd3fd551b1 100644 |
--- a/Source/core/layout/LayoutView.cpp |
+++ b/Source/core/layout/LayoutView.cpp |
@@ -96,6 +96,7 @@ bool LayoutView::hitTest(const HitTestRequest& request, const HitTestLocation& l |
// Note that Document::updateLayout calls its parent's updateLayout. |
// FIXME: It should be the caller's responsibility to ensure an up-to-date layout. |
frameView()->updateLayoutAndStyleIfNeededRecursive(); |
+ compositor()->updateIfNeededRecursive(); |
commitPendingSelection(); |
bool hitLayer = layer()->hitTest(request, location, result); |