| Index: ui/events/blink/input_handler_proxy_unittest.cc
|
| diff --git a/ui/events/blink/input_handler_proxy_unittest.cc b/ui/events/blink/input_handler_proxy_unittest.cc
|
| index 06da7b923a510f1c76e8ba26bffe4396accea4f2..f17d8099b4aec295c814dac322f90db2cf2c4418 100644
|
| --- a/ui/events/blink/input_handler_proxy_unittest.cc
|
| +++ b/ui/events/blink/input_handler_proxy_unittest.cc
|
| @@ -73,12 +73,12 @@ double InSecondsF(const base::TimeTicks& time) {
|
| }
|
|
|
| bool WheelEventsMatch(const WebInputEvent& lhs, const WebInputEvent& rhs) {
|
| - if (lhs.size == rhs.size && lhs.type == rhs.type &&
|
| - lhs.type == WebInputEvent::MouseWheel) {
|
| + if (lhs.size() == rhs.size() && lhs.type() == rhs.type() &&
|
| + lhs.type() == WebInputEvent::MouseWheel) {
|
| WebMouseWheelEvent rhs_timestamped =
|
| static_cast<const WebMouseWheelEvent&>(rhs);
|
| - rhs_timestamped.timeStampSeconds = lhs.timeStampSeconds;
|
| - return memcmp(&rhs_timestamped, &lhs, rhs.size) == 0;
|
| + rhs_timestamped.setTimeStampSeconds(lhs.timeStampSeconds());
|
| + return memcmp(&rhs_timestamped, &lhs, rhs.size()) == 0;
|
| }
|
| return false;
|
| }
|
|
|