Index: cc/trees/layer_tree_impl.h |
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h |
index 3105e6f48eaa6c0cd0eb2c380d9285495aaa4059..dc33aee0d156cd4518cce6e96852579a61a69332 100644 |
--- a/cc/trees/layer_tree_impl.h |
+++ b/cc/trees/layer_tree_impl.h |
@@ -231,7 +231,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); |