Index: third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp |
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp b/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp |
index b991948fc11d2ae8bbdbd734b007b4528396ef94..d99e8acc414705fc9abeb604683c870ed260bd75 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp |
@@ -184,6 +184,7 @@ void ScrollableArea::setScrollOffset(const ScrollOffset& offset, |
switch (scrollType) { |
case CompositorScroll: |
+ case ClampingScroll: |
szager1
2016/10/13 17:54:49
I would have thought this would be treated like a
skobes
2016/10/13 18:00:31
Generally it is. The important difference is that
szager1
2016/10/13 18:50:56
This code path doesn't call cancelScrollAnimation(
bokan
2016/10/13 18:53:59
Perhaps programmaticScrollHelper should take a scr
skobes
2016/10/13 18:55:19
Basically, yes. I assumed that clamping cancellin
szager1
2016/10/13 19:00:39
I haven't thought too deeply about this, but my in
|
scrollOffsetChanged(clampedOffset, scrollType); |
break; |
case AnchoringScroll: |