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

Unified Diff: content/browser/renderer_host/input/synthetic_gesture_target_base.cc

Issue 2250233002: Type->String helper function added to WebInputEvent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/browser/renderer_host/input/synthetic_gesture_target_base.cc
diff --git a/content/browser/renderer_host/input/synthetic_gesture_target_base.cc b/content/browser/renderer_host/input/synthetic_gesture_target_base.cc
index cb568bfac4a5a3c048cbb55a72132fead49c70d1..6e01f65d1cfe005d6ec300ba019a2c299878a12b 100644
--- a/content/browser/renderer_host/input/synthetic_gesture_target_base.cc
+++ b/content/browser/renderer_host/input/synthetic_gesture_target_base.cc
@@ -44,9 +44,8 @@ SyntheticGestureTargetBase::~SyntheticGestureTargetBase() {
void SyntheticGestureTargetBase::DispatchInputEventToPlatform(
const WebInputEvent& event) {
- TRACE_EVENT1("input",
- "SyntheticGestureTarget::DispatchInputEventToPlatform",
- "type", WebInputEventTraits::GetName(event.type));
+ TRACE_EVENT1("input", "SyntheticGestureTarget::DispatchInputEventToPlatform",
+ "type", WebInputEvent::GetName(event.type));
ui::LatencyInfo latency_info;
latency_info.AddLatencyNumber(ui::INPUT_EVENT_LATENCY_UI_COMPONENT, 0, 0);

Powered by Google App Engine
This is Rietveld 408576698