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), |