| 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 fac93dc2f7ec10eec2b3794f5c0617c82d32b87e..bb178ed8af064f567315bf7ef828a164b3e52411 100644
|
| --- a/content/common/input/input_event_stream_validator.cc
|
| +++ b/content/common/input/input_event_stream_validator.cc
|
| @@ -37,12 +37,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);
|
| }
|
|
|