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

Unified Diff: cc/trees/layer_tree_impl.cc

Issue 14017008: Ensure that pinch-zoom scrollbar animations trigger a draw (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits Created 7 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_unittest_animation.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 e4ec3c987ac9f2f6f38e362a915377a2b478c99c..eadc4043ab43621b06a0cc02fd7f4d000651856b 100644
--- a/cc/trees/layer_tree_impl.cc
+++ b/cc/trees/layer_tree_impl.cc
@@ -637,6 +637,7 @@ void LayerTreeImpl::FadeInPinchZoomScrollbars() {
StartFadeInAnimation(PinchZoomScrollbarHorizontal());
StartFadeInAnimation(PinchZoomScrollbarVertical());
+ SetNeedsRedraw();
}
static void StartFadeOutAnimation(LayerImpl* layer) {
@@ -658,6 +659,7 @@ void LayerTreeImpl::FadeOutPinchZoomScrollbars() {
StartFadeOutAnimation(PinchZoomScrollbarHorizontal());
StartFadeOutAnimation(PinchZoomScrollbarVertical());
+ SetNeedsRedraw();
}
bool LayerTreeImpl::HasPinchZoomScrollbars() const {
« no previous file with comments | « cc/trees/layer_tree_host_unittest_animation.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698