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

Unified Diff: cc/layers/layer.h

Issue 1648293003: Fix smooth scroll jump when switching scroll handling between MT and CC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: skip irrelevant test on mac Created 4 years, 10 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
« no previous file with comments | « cc/input/main_thread_scrolling_reason.h ('k') | cc/layers/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer.h
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index ff3e80677601d719b8d0e298dbcaec18bb86ebfe..cdc0feeef00fcfcff75d53c71f36c6dfca94f6c4 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -280,7 +280,8 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
bool user_scrollable_vertical() const { return user_scrollable_vertical_; }
void AddMainThreadScrollingReasons(uint32_t main_thread_scrolling_reasons);
- void ClearMainThreadScrollingReasons();
+ void ClearMainThreadScrollingReasons(
+ uint32_t main_thread_scrolling_reasons_to_clear);
uint32_t main_thread_scrolling_reasons() const {
return main_thread_scrolling_reasons_;
}
« no previous file with comments | « cc/input/main_thread_scrolling_reason.h ('k') | cc/layers/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698