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..e28bff5a73dc39af60065e3522889c559c1b8926 100644 |
--- a/content/common/input/touch_event_stream_validator.cc |
+++ b/content/common/input/touch_event_stream_validator.cc |
@@ -6,8 +6,8 @@ |
#include "base/logging.h" |
#include "base/strings/stringprintf.h" |
-#include "content/common/input/web_input_event_traits.h" |
#include "content/common/input/web_touch_event_traits.h" |
+#include "ui/events/blink/web_input_event_traits.h" |
using base::StringPrintf; |
using blink::WebInputEvent; |
@@ -61,8 +61,9 @@ 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))); |
+ error_msg->append( |
+ StringPrintf("Touch event has invalid type: %s\n", |
+ ui::WebInputEventTraits::GetName(event.type))); |
} |
// Allow "hard" restarting of touch stream validation. This is necessary |
@@ -160,7 +161,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))); |
+ ui::WebInputEventTraits::GetName(event.type))); |
} |
return error_msg->empty(); |