| Index: ui/aura/test/event_generator.h
|
| diff --git a/ui/aura/test/event_generator.h b/ui/aura/test/event_generator.h
|
| index 01e5a9d987347df659e9fb06363f177e3b6d8ce9..29aebcffebf76f32b480e4345d7b5f261ea59f2c 100644
|
| --- a/ui/aura/test/event_generator.h
|
| +++ b/ui/aura/test/event_generator.h
|
| @@ -85,7 +85,7 @@ class EventGenerator {
|
| }
|
|
|
| void MoveMouseBy(int x, int y) {
|
| - MoveMouseTo(current_location_.Add(gfx::Point(x, y)));
|
| + MoveMouseTo(current_location_.Add(gfx::Vector2d(x, y)));
|
| }
|
|
|
| // Generates events to drag mouse to given |point|.
|
| @@ -96,7 +96,7 @@ class EventGenerator {
|
| }
|
|
|
| void DragMouseBy(int dx, int dy) {
|
| - DragMouseTo(current_location_.Add(gfx::Point(dx, dy)));
|
| + DragMouseTo(current_location_.Add(gfx::Vector2d(dx, dy)));
|
| }
|
|
|
| // Generates events to move the mouse to the center of the window.
|
| @@ -120,7 +120,7 @@ class EventGenerator {
|
| }
|
|
|
| void PressMoveAndReleaseTouchBy(int x, int y) {
|
| - PressMoveAndReleaseTouchTo(current_location_.Add(gfx::Point(x, y)));
|
| + PressMoveAndReleaseTouchTo(current_location_.Add(gfx::Vector2d(x, y)));
|
| }
|
|
|
| // Generates press, move and release events to move touch
|
|
|