| 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 14028ca032e119ec0548caf4c8ba3635ac64eadc..4a918619863c749dc9b78142d7ac154de9ddefba 100644
|
| --- a/content/common/input/gesture_event_stream_validator.cc
|
| +++ b/content/common/input/gesture_event_stream_validator.cc
|
| @@ -24,11 +24,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");
|
|
|