| Index: content/common/input/touch_event_stream_validator.cc
|
| diff --git a/content/common/input/touch_event_stream_validator.cc b/content/common/input/touch_event_stream_validator.cc
|
| index 23675b9f1bf4545f82b253b4f1dbc6f3ead345ec..3c89b63e00bd70d963406502a2c5ae9abd4ae26e 100644
|
| --- a/content/common/input/touch_event_stream_validator.cc
|
| +++ b/content/common/input/touch_event_stream_validator.cc
|
| @@ -62,7 +62,7 @@ bool TouchEventStreamValidator::Validate(const WebTouchEvent& event,
|
|
|
| if (!WebInputEvent::isTouchEventType(event.type)) {
|
| error_msg->append(StringPrintf("Touch event has invalid type: %s\n",
|
| - WebInputEventTraits::GetName(event.type)));
|
| + WebInputEvent::GetName(event.type)));
|
| }
|
|
|
| // Allow "hard" restarting of touch stream validation. This is necessary
|
| @@ -160,7 +160,7 @@ bool TouchEventStreamValidator::Validate(const WebTouchEvent& event,
|
| if (!found_valid_state_for_type) {
|
| error_msg->append(
|
| StringPrintf("No valid touch point corresponding to event type: %s\n",
|
| - WebInputEventTraits::GetName(event.type)));
|
| + WebInputEvent::GetName(event.type)));
|
| }
|
|
|
| return error_msg->empty();
|
|
|