Index: cc/trees/layer_tree_impl.h |
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h |
index 76911e1543d345c680d1f297bcf4f03ce36f67ec..5fadf708d21d7c6b08dd7e3b330e3b27a7abfe97 100644 |
--- a/cc/trees/layer_tree_impl.h |
+++ b/cc/trees/layer_tree_impl.h |
@@ -241,7 +241,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); |