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

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

Issue 2741633002: Remove FrameHost::eventHandlerRegistry() (Closed)
Patch Set: Rebase Created 3 years, 9 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 85977cb686099cde2a01bc2b4e1861dcc3e901cb..b69497116b7738c86a89bbbf536cfb05aa841f4e 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -4861,8 +4861,8 @@ void FrameView::updateRenderThrottlingStatus(
setSubtreeNeedsPaintPropertyUpdate();
}
- bool hasHandlers = m_frame->host() &&
- m_frame->host()->eventHandlerRegistry().hasEventHandlers(
+ bool hasHandlers = m_frame->page() &&
+ m_frame->page()->eventHandlerRegistry().hasEventHandlers(
EventHandlerRegistry::TouchStartOrMoveEventBlocking);
if (wasThrottled != canThrottleRendering() && scrollingCoordinator &&
hasHandlers)
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameHost.cpp ('k') | third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698