| Index: ui/events/blink/input_handler_proxy.cc
|
| diff --git a/ui/events/blink/input_handler_proxy.cc b/ui/events/blink/input_handler_proxy.cc
|
| index 01d2544ceebb997e47f6822a2eea07fb510480f0..8f2aaf91d73b961bf8e697f5bc9bf8f7788d2dba 100644
|
| --- a/ui/events/blink/input_handler_proxy.cc
|
| +++ b/ui/events/blink/input_handler_proxy.cc
|
| @@ -252,10 +252,11 @@ InputHandlerProxy::InputHandlerProxy(cc::InputHandler* input_handler,
|
| DCHECK(client);
|
| input_handler_->BindToClient(this);
|
| cc::ScrollElasticityHelper* scroll_elasticity_helper =
|
| - input_handler_->CreateScrollElasticityHelper();
|
| + input_handler_->CreateRootScrollElasticityHelper();
|
| if (scroll_elasticity_helper) {
|
| - scroll_elasticity_controller_.reset(
|
| - new InputScrollElasticityController(scroll_elasticity_helper));
|
| + scroll_elasticity_controller_.reset(new InputScrollElasticityController());
|
| + scroll_elasticity_controller_->SetActiveHelper(
|
| + scroll_elasticity_helper->GetWeakPtr());
|
| }
|
| }
|
|
|
|
|