| Index: content/common/input/gesture_event_stream_validator.cc
|
| diff --git a/content/common/input/gesture_event_stream_validator.cc b/content/common/input/gesture_event_stream_validator.cc
|
| index 8f2020563f890592ad75e8958bc4744082791477..2bcb8b0d5b00b96157184512edd6326f36b988f2 100644
|
| --- a/content/common/input/gesture_event_stream_validator.cc
|
| +++ b/content/common/input/gesture_event_stream_validator.cc
|
| @@ -25,11 +25,11 @@ bool GestureEventStreamValidator::Validate(const blink::WebGestureEvent& event,
|
| std::string* error_msg) {
|
| DCHECK(error_msg);
|
| error_msg->clear();
|
| - if (!WebInputEvent::isGestureEventType(event.type)) {
|
| + if (!WebInputEvent::isGestureEventType(event.type())) {
|
| error_msg->append(base::StringPrintf("Invalid gesture type: %s",
|
| - WebInputEvent::GetName(event.type)));
|
| + WebInputEvent::GetName(event.type())));
|
| }
|
| - switch (event.type) {
|
| + switch (event.type()) {
|
| case WebInputEvent::GestureScrollBegin:
|
| if (scrolling_)
|
| error_msg->append("Scroll begin during scroll\n");
|
|
|