Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(352)

Unified Diff: content/common/input/gesture_event_stream_validator.cc

Issue 2250233002: Type->String helper function added to WebInputEvent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Blink_Common_export instead of blink_export Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 1afb23e87fc8f4028a1b24cd54f00ab664708842..ef808246fafd41126c11cb2564f0d4ad0a6d4e23 100644
--- a/content/common/input/gesture_event_stream_validator.cc
+++ b/content/common/input/gesture_event_stream_validator.cc
@@ -25,9 +25,8 @@ 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",
- ui::WebInputEventTraits::GetName(event.type)));
+ error_msg->append(base::StringPrintf("Invalid gesture type: %s",
+ WebInputEvent::GetName(event.type)));
}
switch (event.type) {
case WebInputEvent::GestureScrollBegin:

Powered by Google App Engine
This is Rietveld 408576698