| Index: content/browser/renderer_host/input/legacy_input_router_impl_perftest.cc
|
| diff --git a/content/browser/renderer_host/input/legacy_input_router_impl_perftest.cc b/content/browser/renderer_host/input/legacy_input_router_impl_perftest.cc
|
| index 0704dc0fc23b93507591344bcfc49cea7d5fd64e..130c7a21fd95c3f460ff6e44c479392b49ac9dd6 100644
|
| --- a/content/browser/renderer_host/input/legacy_input_router_impl_perftest.cc
|
| +++ b/content/browser/renderer_host/input/legacy_input_router_impl_perftest.cc
|
| @@ -216,8 +216,7 @@ class LegacyInputRouterImplPerfTest : public testing::Test {
|
| public:
|
| LegacyInputRouterImplPerfTest()
|
| : scoped_task_environment_(
|
| - base::test::ScopedTaskEnvironment::MainThreadType::UI),
|
| - last_input_id_(0) {}
|
| + base::test::ScopedTaskEnvironment::MainThreadType::UI) {}
|
| ~LegacyInputRouterImplPerfTest() override {}
|
|
|
| protected:
|
| @@ -273,14 +272,11 @@ class LegacyInputRouterImplPerfTest : public testing::Test {
|
|
|
| size_t AckCount() const { return ack_handler_->ack_count(); }
|
|
|
| - int64_t NextLatencyID() { return ++last_input_id_; }
|
| -
|
| ui::LatencyInfo CreateLatencyInfo() {
|
| ui::LatencyInfo latency;
|
| latency.AddLatencyNumber(
|
| - ui::INPUT_EVENT_LATENCY_SCROLL_UPDATE_ORIGINAL_COMPONENT, 1, 0);
|
| - latency.AddLatencyNumber(ui::INPUT_EVENT_LATENCY_BEGIN_RWH_COMPONENT, 1,
|
| - NextLatencyID());
|
| + ui::INPUT_EVENT_LATENCY_SCROLL_UPDATE_ORIGINAL_COMPONENT, 1);
|
| + latency.AddLatencyNumber(ui::INPUT_EVENT_LATENCY_BEGIN_RWH_COMPONENT, 1);
|
| return latency;
|
| }
|
|
|
| @@ -347,7 +343,6 @@ class LegacyInputRouterImplPerfTest : public testing::Test {
|
|
|
| private:
|
| base::test::ScopedTaskEnvironment scoped_task_environment_;
|
| - int64_t last_input_id_;
|
| std::unique_ptr<NullIPCSender> sender_;
|
| std::unique_ptr<NullInputRouterClient> client_;
|
| std::unique_ptr<NullInputAckHandler> ack_handler_;
|
|
|