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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayer.cpp

Issue 2600593002: Fix touch event flag may not be updated correctly by transform which causes no layout (Closed)
Patch Set: Update the logic to focus on non-passive touchEvents Created 3 years, 12 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/paint/PaintLayer.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
index 93800eb5ff14d38e2bfe071ea20fdd5e1c5ad68f..126fc44fbc2fb8cfd12ce28ca949203c9c2b6bbb 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
@@ -418,6 +418,10 @@ void PaintLayer::updateTransform(const ComputedStyle* oldStyle,
if (FrameView* frameView = layoutObject()->document().view())
frameView->setNeedsUpdateWidgetGeometries();
+
+ if (ScrollingCoordinator* scrollingCoordinator =
+ layoutObject()->frame()->page()->scrollingCoordinator())
+ scrollingCoordinator->checkTransformChangedDueToTouchEvent(this);
majidvp 2017/01/04 16:48:51 Is t really enough to notify ScrollingCoordinator
yigu 2017/01/05 14:05:43 As we discussed, this part of logic has been moved
}
static PaintLayer* enclosingLayerForContainingBlock(PaintLayer* layer) {

Powered by Google App Engine
This is Rietveld 408576698