| Index: ui/events/test/cocoa_test_event_utils.mm
|
| diff --git a/ui/events/test/cocoa_test_event_utils.mm b/ui/events/test/cocoa_test_event_utils.mm
|
| index b225710adc61099936f04e5b7c03d0714c0481cb..c62c482f42bbb85a5330168ffff3b22cc2955a29 100644
|
| --- a/ui/events/test/cocoa_test_event_utils.mm
|
| +++ b/ui/events/test/cocoa_test_event_utils.mm
|
| @@ -153,7 +153,7 @@ NSEvent* TestScrollEvent(NSPoint window_point,
|
|
|
| // Always set event flags, otherwise +[NSEvent eventWithCGEvent:] populates
|
| // flags from current keyboard state which can make tests flaky.
|
| - CGEventSetFlags(scroll, 0);
|
| + CGEventSetFlags(scroll, static_cast<CGEventFlags>(0));
|
|
|
| if (has_precise_deltas) {
|
| // kCGScrollWheelEventIsContinuous is -[NSEvent hasPreciseScrollingDeltas].
|
|
|