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

Unified Diff: cc/scrollbar_layer_impl.cc

Issue 11550035: Implement pinch-zoom scaling for main-frame scrollbars and pinch-zoom overlay scrollbars. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make OpacityIsAnimating() virtual. Created 7 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
Index: cc/scrollbar_layer_impl.cc
diff --git a/cc/scrollbar_layer_impl.cc b/cc/scrollbar_layer_impl.cc
index c44ace4144478e11900436f6bea8a4319722bf10..55ab180de80402e38bdfee2fe8372468b9322fef 100644
--- a/cc/scrollbar_layer_impl.cc
+++ b/cc/scrollbar_layer_impl.cc
@@ -4,6 +4,7 @@
#include "cc/scrollbar_layer_impl.h"
+#include "cc/layer.h"
#include "cc/layer_tree_impl.h"
#include "cc/layer_tree_settings.h"
#include "cc/quad_sink.h"
@@ -39,7 +40,7 @@ ScrollbarLayerImpl::ScrollbarLayerImpl(
current_pos_(0),
total_size_(0),
maximum_(0),
- scroll_layer_id_(-1),
+ scroll_layer_id_(Layer::INVALID_ID),
scrollbar_overlay_style_(WebScrollbar::ScrollbarOverlayStyleDefault),
orientation_(WebScrollbar::Horizontal),
control_size_(WebScrollbar::RegularScrollbar),

Powered by Google App Engine
This is Rietveld 408576698