Index: cc/trees/layer_tree_impl.h |
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h |
index 7a97f015283258c6651f82a3847057f4a46a4760..277049aadc009de8df37f2f4decf9e1fb20a4256 100644 |
--- a/cc/trees/layer_tree_impl.h |
+++ b/cc/trees/layer_tree_impl.h |
@@ -244,7 +244,7 @@ class CC_EXPORT LayerTreeImpl { |
gfx::Rect RootScrollLayerDeviceViewportBounds() const; |
- LayerImpl* LayerById(int id); |
+ LayerImpl* LayerById(int id) const; |
// These should be called by LayerImpl's ctor/dtor. |
void RegisterLayer(LayerImpl* layer); |