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

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

Issue 2743223003: Mark sub-frame root layer non-fast scrollable when wheel handlers present. (Closed)
Patch Set: 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 a5721cfe8ad85855925b1a6891a54f473cf1ba00..48385f80eb0515b3b661e5831289bf5928cdeb43 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