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

Unified Diff: Source/platform/PlatformGestureEvent.h

Issue 1320543006: Remove touch scroll chaining from main thread scrolling. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@gclient
Patch Set: Created 5 years, 3 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: Source/platform/PlatformGestureEvent.h
diff --git a/Source/platform/PlatformGestureEvent.h b/Source/platform/PlatformGestureEvent.h
index a1d8be5e0506953525615d3b62812b9567fb318b..ab7ea9e555ea8147e53fcfdbf0c297cd5e73ebc4 100644
--- a/Source/platform/PlatformGestureEvent.h
+++ b/Source/platform/PlatformGestureEvent.h
@@ -122,8 +122,11 @@ public:
bool preventPropagation() const
{
+ // TODO(tdresser) Once we've decided if we're getting rid of scroll
+ // chaining, we should remove all scroll chaining related logic. See
+ // crbug.com/526462 for details.
ASSERT(m_type == PlatformEvent::GestureScrollUpdate);
- return m_data.m_scroll.m_preventPropagation;
+ return true;
}
float scale() const

Powered by Google App Engine
This is Rietveld 408576698