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 9bdea8a481fe9bc7e8d1b91040b856e634ffa85c..1afb23e87fc8f4028a1b24cd54f00ab664708842 100644 |
--- a/content/common/input/gesture_event_stream_validator.cc |
+++ b/content/common/input/gesture_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 "third_party/WebKit/public/web/WebInputEvent.h" |
+#include "ui/events/blink/web_input_event_traits.h" |
using blink::WebInputEvent; |
@@ -25,8 +25,9 @@ bool GestureEventStreamValidator::Validate(const blink::WebGestureEvent& event, |
DCHECK(error_msg); |
error_msg->clear(); |
if (!WebInputEvent::isGestureEventType(event.type)) { |
- error_msg->append(base::StringPrintf( |
- "Invalid gesture type: %s", WebInputEventTraits::GetName(event.type))); |
+ error_msg->append( |
+ base::StringPrintf("Invalid gesture type: %s", |
+ ui::WebInputEventTraits::GetName(event.type))); |
} |
switch (event.type) { |
case WebInputEvent::GestureScrollBegin: |