Chromium Code Reviews| Index: ui/events/blink/input_handler_proxy.cc |
| diff --git a/ui/events/blink/input_handler_proxy.cc b/ui/events/blink/input_handler_proxy.cc |
| index d12cbb0f2839f8c219d0a6c57b338c2cc77444eb..a9439d0057f5224459a114cc7d4aeaa31290afc4 100644 |
| --- a/ui/events/blink/input_handler_proxy.cc |
| +++ b/ui/events/blink/input_handler_proxy.cc |
| @@ -427,7 +427,7 @@ void InputHandlerProxy::RecordMainThreadScrollingReasons( |
| ++i) { |
| unsigned val = 1 << i; |
| if (reasons & val) { |
| - if (val == cc::MainThreadScrollingReason::kAnimatingScrollOnMainThread) { |
| + if (val == cc::MainThreadScrollingReason::kHandlingScrollFromMainThread) { |
| // We only want to record "animating scroll on main thread" reason if |
|
Ian Vollick
2016/09/01 14:26:23
The comment text should be updated, too.
ymalik
2016/09/01 14:43:58
Missed it. Thanks!
|
| // it's the only reason. If it's not the only reason, the "real" reason |
| // for scrolling on main is something else, and we only want to pay |