| Index: cc/input/input_handler.h
|
| diff --git a/cc/input/input_handler.h b/cc/input/input_handler.h
|
| index 9b96db789d1d03c4a5fc6fc655288ffb3ad0f0d1..38383909e3596d479901f6f45b9c5f963c9d8176 100644
|
| --- a/cc/input/input_handler.h
|
| +++ b/cc/input/input_handler.h
|
| @@ -8,6 +8,7 @@
|
| #include <memory>
|
|
|
| #include "base/macros.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "base/time/time.h"
|
| #include "cc/base/cc_export.h"
|
| #include "cc/input/event_listener_properties.h"
|
| @@ -200,7 +201,9 @@ class CC_EXPORT InputHandler {
|
| virtual std::unique_ptr<SwapPromiseMonitor>
|
| CreateLatencyInfoSwapPromiseMonitor(ui::LatencyInfo* latency) = 0;
|
|
|
| - virtual ScrollElasticityHelper* CreateScrollElasticityHelper() = 0;
|
| + virtual ScrollElasticityHelper* CreateRootScrollElasticityHelper() = 0;
|
| + virtual base::WeakPtr<ScrollElasticityHelper>
|
| + ScrollElasticityHelperForScrollingLayer() = 0;
|
|
|
| // Called by the single-threaded UI Compositor to get or set the scroll offset
|
| // on the impl side. Retruns false if |layer_id| isn't in the active tree.
|
|
|