Index: third_party/WebKit/Source/core/input/ScrollManager.h |
diff --git a/third_party/WebKit/Source/core/input/ScrollManager.h b/third_party/WebKit/Source/core/input/ScrollManager.h |
index 715282dc7264ee8f5f26fe50a967a9dc33677028..767126b740f5ddbf01e52c8b126988c22a365f71 100644 |
--- a/third_party/WebKit/Source/core/input/ScrollManager.h |
+++ b/third_party/WebKit/Source/core/input/ScrollManager.h |
@@ -111,8 +111,11 @@ class CORE_EXPORT ScrollManager |
void RecomputeScrollChain(const Node& start_node, |
std::deque<int>& scroll_chain); |
- uint32_t ComputeNonCompositedMainThreadScrollingReasons(); |
- void RecordNonCompositedMainThreadScrollingReasons(const WebGestureDevice); |
+ // scroller_size is set only when scrolling non root scroller. |
+ void ComputeScrollRelatedMetrics( |
+ uint32_t* non_composited_main_thread_scrolling_reasons, |
+ int* scroller_size); |
+ void RecordScrollRelatedMetrics(const WebGestureDevice); |
// NOTE: If adding a new field to this class please ensure that it is |
// cleared in |ScrollManager::clear()|. |