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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 2740493003: Call setNeedsRedraw when scrollbar opacity changes. (Closed)
Patch Set: Created 3 years, 9 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 | « no previous file | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_impl.cc
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
index 15d72e6e3034b85f3020bf918d14201df3e99ac4..6bedee3bc7097685c11ff53f27a32d2f22eef1ab 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -2294,6 +2294,7 @@ LayerImpl* LayerTreeHostImpl::ViewportMainScrollLayer() {
}
void LayerTreeHostImpl::DidChangeScrollbarVisibility() {
+ SetNeedsRedraw();
client_->SetNeedsCommitOnImplThread();
weiliangc 2017/03/07 22:53:34 For setNeedsRedraw to work correctly we need to ma
bokan 2017/03/07 23:19:49 I'm not sure what you mean about utilising animati
weiliangc 2017/03/13 20:11:09 I was wondering why when the opacity is changed an
bokan 2017/03/13 21:56:23 I think code changed so your link is pointing to a
}
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698