Index: cc/trees/layer_tree_impl.h |
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h |
index 70f9809c781a615928caed553cfe816197b41623..7e0a6aed428024f279980cacd00812c12eaf85ff 100644 |
--- a/cc/trees/layer_tree_impl.h |
+++ b/cc/trees/layer_tree_impl.h |
@@ -235,7 +235,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); |