Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(220)

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 2479663002: Move compositor InputHandler from RenderViewImpl to RenderWidget. (Closed)
Patch Set: Rebase to master@{#445291}. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}

Powered by Google App Engine
This is Rietveld 408576698