diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-09-01 11:08:40 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-10-01 12:16:21 +0000 |
commit | 03c549e0392f92c02536d3f86d5e1d8dfa3435ac (patch) | |
tree | fe49d170a929b34ba82cd10db1a0bd8e3760fa4b /chromium/content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc | |
parent | 5d013f5804a0d91fcf6c626b2d6fb6eca5c845b0 (diff) | |
download | qtwebengine-chromium-03c549e0392f92c02536d3f86d5e1d8dfa3435ac.tar.gz |
BASELINE: Update Chromium to 91.0.4472.160
Change-Id: I0def1f08a2412aeed79a9ab95dd50eb5c3f65f31
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc')
-rw-r--r-- | chromium/content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/chromium/content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc b/chromium/content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc index 4845afe187e..d57521383a5 100644 --- a/chromium/content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc +++ b/chromium/content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc @@ -1819,7 +1819,7 @@ TEST_F(SyntheticGestureControllerTest, PointerTouchAction) { param_list.push_back(param0); param_list.push_back(param1); params.PushPointerActionParamsList(param_list); - gesture.reset(new SyntheticPointerAction(params)); + gesture = std::make_unique<SyntheticPointerAction>(params); QueueSyntheticGesture(std::move(gesture)); pointer_touch_target->reset_num_dispatched_pointer_actions(); FlushInputUntilComplete(); @@ -1837,7 +1837,7 @@ TEST_F(SyntheticGestureControllerTest, PointerTouchAction) { param_list.clear(); param_list.push_back(param1); params.PushPointerActionParamsList(param_list); - gesture.reset(new SyntheticPointerAction(params)); + gesture = std::make_unique<SyntheticPointerAction>(params); QueueSyntheticGesture(std::move(gesture)); pointer_touch_target->reset_num_dispatched_pointer_actions(); FlushInputUntilComplete(); @@ -1879,7 +1879,7 @@ TEST_F(SyntheticGestureControllerTest, PointerMouseAction) { SyntheticPointerActionParams::PointerActionType::PRESS); param.set_position(gfx::PointF(183, 239)); params.PushPointerActionParams(param); - gesture.reset(new SyntheticPointerAction(params)); + gesture = std::make_unique<SyntheticPointerAction>(params); QueueSyntheticGesture(std::move(gesture)); pointer_mouse_target->reset_num_dispatched_pointer_actions(); FlushInputUntilComplete(); @@ -1895,7 +1895,7 @@ TEST_F(SyntheticGestureControllerTest, PointerMouseAction) { SyntheticPointerActionParams::PointerActionType::MOVE); param.set_position(gfx::PointF(254, 279)); params.PushPointerActionParams(param); - gesture.reset(new SyntheticPointerAction(params)); + gesture = std::make_unique<SyntheticPointerAction>(params); QueueSyntheticGesture(std::move(gesture)); pointer_mouse_target->reset_num_dispatched_pointer_actions(); FlushInputUntilComplete(); @@ -1910,7 +1910,7 @@ TEST_F(SyntheticGestureControllerTest, PointerMouseAction) { param.set_pointer_action_type( SyntheticPointerActionParams::PointerActionType::RELEASE); params.PushPointerActionParams(param); - gesture.reset(new SyntheticPointerAction(params)); + gesture = std::make_unique<SyntheticPointerAction>(params); QueueSyntheticGesture(std::move(gesture)); pointer_mouse_target->reset_num_dispatched_pointer_actions(); FlushInputUntilComplete(); @@ -1952,7 +1952,7 @@ TEST_F(SyntheticGestureControllerTest, PointerPenAction) { SyntheticPointerActionParams::PointerActionType::PRESS); param.set_position(gfx::PointF(183, 239)); params.PushPointerActionParams(param); - gesture.reset(new SyntheticPointerAction(params)); + gesture = std::make_unique<SyntheticPointerAction>(params); QueueSyntheticGesture(std::move(gesture)); pointer_pen_target->reset_num_dispatched_pointer_actions(); FlushInputUntilComplete(); @@ -1968,7 +1968,7 @@ TEST_F(SyntheticGestureControllerTest, PointerPenAction) { SyntheticPointerActionParams::PointerActionType::MOVE); param.set_position(gfx::PointF(254, 279)); params.PushPointerActionParams(param); - gesture.reset(new SyntheticPointerAction(params)); + gesture = std::make_unique<SyntheticPointerAction>(params); QueueSyntheticGesture(std::move(gesture)); pointer_pen_target->reset_num_dispatched_pointer_actions(); FlushInputUntilComplete(); @@ -1983,7 +1983,7 @@ TEST_F(SyntheticGestureControllerTest, PointerPenAction) { param.set_pointer_action_type( SyntheticPointerActionParams::PointerActionType::RELEASE); params.PushPointerActionParams(param); - gesture.reset(new SyntheticPointerAction(params)); + gesture = std::make_unique<SyntheticPointerAction>(params); QueueSyntheticGesture(std::move(gesture)); pointer_pen_target->reset_num_dispatched_pointer_actions(); FlushInputUntilComplete(); @@ -1998,7 +1998,7 @@ TEST_F(SyntheticGestureControllerTest, PointerPenAction) { param.set_pointer_action_type( SyntheticPointerActionParams::PointerActionType::LEAVE); params.PushPointerActionParams(param); - gesture.reset(new SyntheticPointerAction(params)); + gesture = std::make_unique<SyntheticPointerAction>(params); QueueSyntheticGesture(std::move(gesture)); pointer_pen_target->reset_num_dispatched_pointer_actions(); FlushInputUntilComplete(); |