| Index: cc/layers/layer.cc
|
| diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc
|
| index 3446f38d659eca9b59008e00b341ce81d6f840f6..5f777afcac3be247bdf526caa6fa875a3d3e0bf0 100644
|
| --- a/cc/layers/layer.cc
|
| +++ b/cc/layers/layer.cc
|
| @@ -823,7 +823,8 @@ void Layer::SetScrollOffsetFromImplSide(
|
| property_trees->needs_rebuild = true;
|
|
|
| if (!inputs_.did_scroll_callback.is_null())
|
| - inputs_.did_scroll_callback.Run();
|
| + inputs_.did_scroll_callback.Run(scroll_offset);
|
| +
|
| // The callback could potentially change the layer structure:
|
| // "this" may have been destroyed during the process.
|
| }
|
|
|