| Index: content/common/input/input_event_stream_validator.cc
|
| diff --git a/content/common/input/input_event_stream_validator.cc b/content/common/input/input_event_stream_validator.cc
|
| index 8025fb8d5c76c23c40a900f8549882ff87d3f006..0b56e6e1de838f4fc3b076fab47fad109c6ae83a 100644
|
| --- a/content/common/input/input_event_stream_validator.cc
|
| +++ b/content/common/input/input_event_stream_validator.cc
|
| @@ -36,12 +36,12 @@ void InputEventStreamValidator::Validate(const WebInputEvent& event) {
|
| bool InputEventStreamValidator::ValidateImpl(const blink::WebInputEvent& event,
|
| std::string* error_msg) {
|
| DCHECK(error_msg);
|
| - if (WebInputEvent::isGestureEventType(event.type)) {
|
| + if (WebInputEvent::isGestureEventType(event.type())) {
|
| const WebGestureEvent& gesture = static_cast<const WebGestureEvent&>(event);
|
| // TODO(jdduke): Validate touchpad gesture streams.
|
| if (gesture.sourceDevice == blink::WebGestureDeviceTouchscreen)
|
| return gesture_validator_.Validate(gesture, error_msg);
|
| - } else if (WebInputEvent::isTouchEventType(event.type)) {
|
| + } else if (WebInputEvent::isTouchEventType(event.type())) {
|
| const WebTouchEvent& touch = static_cast<const WebTouchEvent&>(event);
|
| return touch_validator_.Validate(touch, error_msg);
|
| }
|
|
|