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

Unified Diff: cc/trees/layer_tree_impl.cc

Issue 2858973002: Fade out overlay scrollbar after page load (Closed)
Patch Set: Created 3 years, 8 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/trees/layer_tree_host_impl_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_impl.cc
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
index dc9b4e9bfce64176681353802396ee24b174597e..81f0a4493b6759c13ed88a4ef5aa59a4f860ea7a 100644
--- a/cc/trees/layer_tree_impl.cc
+++ b/cc/trees/layer_tree_impl.cc
@@ -1708,6 +1708,8 @@ void LayerTreeImpl::RegisterScrollLayer(LayerImpl* layer) {
std::pair<int, int>(layer->scroll_clip_layer_id(), layer->id()));
DidUpdateScrollState(layer->id());
+
+ layer->set_needs_show_scrollbars(true);
}
void LayerTreeImpl::UnregisterScrollLayer(LayerImpl* layer) {
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698