Index: third_party/WebKit/Source/core/frame/FrameView.cpp |
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp |
index 8dca0e8f9700cd8ca2a3826cac3351acb2f3da67..8f246b2fa7ebd59bb6ab7357e425a038416cff7f 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp |
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp |
@@ -2938,6 +2938,14 @@ void FrameView::updateLifecyclePhasesInternal( |
scrollingCoordinator()->updateAfterCompositingChangeIfNeeded(); |
} |
+ if (LocalFrame* localFrame = m_frame->localFrameRoot()) { |
+ // This is needed since, at present, the ScrollingCoordinator doesn't |
+ // send rects for oopif sub-frames. |
+ // TODO(wjmaclean): Remove this pathway when ScrollingCoordinator |
+ // operates on a per-frame basis. https://crbug.com/680606 |
+ frame().page()->chromeClient().updateTouchRectsForSubframeIfNecessary( |
+ localFrame); |
+ } |
updateCompositedSelectionIfNeeded(); |
} |