Index: cc/trees/layer_tree_impl.h |
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h |
index a8c58d1c520634d611ba0992897c825105774bd1..e521d3723e801b26cc10450bff77f2287db1fa23 100644 |
--- a/cc/trees/layer_tree_impl.h |
+++ b/cc/trees/layer_tree_impl.h |
@@ -234,7 +234,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); |