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 d7edc94fec4cdd624a8e006df8647ba57fcdfb30..9fe0bdffe9b7cda7e1e911799feb1dea066310bd 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp |
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp |
@@ -2952,6 +2952,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(); |
} |