| Index: ui/events/blink/input_scroll_elasticity_controller_unittest.cc
|
| diff --git a/ui/events/blink/input_scroll_elasticity_controller_unittest.cc b/ui/events/blink/input_scroll_elasticity_controller_unittest.cc
|
| index 6241da239b1d22bf75744abbc7a02b2ff33ffa25..00210d453888062a549b5dbc0e98136bfbbe1154 100644
|
| --- a/ui/events/blink/input_scroll_elasticity_controller_unittest.cc
|
| +++ b/ui/events/blink/input_scroll_elasticity_controller_unittest.cc
|
| @@ -53,6 +53,10 @@ class MockScrollElasticityHelper : public cc::ScrollElasticityHelper {
|
| }
|
| void RequestOneBeginFrame() override { request_begin_frame_count_ += 1; }
|
|
|
| + base::WeakPtr<ScrollElasticityHelper> GetWeakPtr() override {
|
| + return nullptr;
|
| + }
|
| +
|
| // Counters for number of times functions were called.
|
| int request_begin_frame_count() const { return request_begin_frame_count_; }
|
| int set_stretch_amount_count() const { return set_stretch_amount_count_; }
|
| @@ -80,8 +84,7 @@ class MockScrollElasticityHelper : public cc::ScrollElasticityHelper {
|
| class ScrollElasticityControllerTest : public testing::Test {
|
| public:
|
| ScrollElasticityControllerTest()
|
| - : controller_(&helper_),
|
| - input_event_count_(0),
|
| + : input_event_count_(0),
|
| current_time_(base::TimeTicks::FromInternalValue(100000000ull)) {}
|
| ~ScrollElasticityControllerTest() override {}
|
|
|
|
|