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

Unified Diff: third_party/WebKit/Source/web/ChromeClientImpl.cpp

Issue 2740133002: Mark sub-frame root layer non-fast scrollable when wheel handlers present. (Closed)
Patch Set: Add mainframe version of test for verification. 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/web/ChromeClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
index bd57f5d03625a57af772bcd7e22139d2596b4fe1..f63c7cc99d7fcb4103c12fa0a5d85e2ee5424451 100644
--- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
@@ -983,12 +983,12 @@ void ChromeClientImpl::setEventListenerProperties(
}
}
-void ChromeClientImpl::updateTouchRectsForSubframeIfNecessary(
+void ChromeClientImpl::updateEventRectsForSubframeIfNecessary(
LocalFrame* frame) {
WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame);
WebFrameWidgetBase* widget = webFrame->localRoot()->frameWidget();
if (WebLayerTreeView* treeView = widget->getLayerTreeView())
- treeView->updateTouchRectsForSubframeIfNecessary();
+ treeView->updateEventRectsForSubframeIfNecessary();
}
void ChromeClientImpl::beginLifecycleUpdates() {
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.h ('k') | third_party/WebKit/public/platform/WebLayerTreeView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698