| 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 821a38625a91a6bd85f23fb2bc89304939bdebc0..e40496d94b8715502820d55bb268731da4ddd899 100644
|
| --- a/ui/events/blink/input_handler_proxy.cc
|
| +++ b/ui/events/blink/input_handler_proxy.cc
|
| @@ -243,10 +243,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());
|
| }
|
| }
|
|
|
|
|