Index: third_party/WebKit/Source/web/WebViewImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp |
index 9bc4335ce6d61d0e6cfa6575c8a292b7bff37569..763645a8f0e6b6ceaea8b421f792876fb2f0b6ce 100644 |
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp |
@@ -1067,7 +1067,7 @@ WebInputEventResult WebViewImpl::handleKeyEvent(const WebKeyboardEvent& event) |
|| (event.type == WebInputEvent::KeyDown) |
|| (event.type == WebInputEvent::KeyUp)); |
TRACE_EVENT2("input", "WebViewImpl::handleKeyEvent", |
- "type", inputTypeToName(event.type), |
+ "type", WebInputEvent::GetName(event.type), |
"text", String(event.text).utf8()); |
// Halt an in-progress fling on a key event. |
@@ -2147,7 +2147,7 @@ WebInputEventResult WebViewImpl::handleInputEvent(const WebInputEvent& inputEven |
page()->frameHost().visualViewport().startTrackingPinchStats(); |
- TRACE_EVENT1("input,rail", "WebViewImpl::handleInputEvent", "type", inputTypeToName(inputEvent.type)); |
+ TRACE_EVENT1("input,rail", "WebViewImpl::handleInputEvent", "type", WebInputEvent::GetName(inputEvent.type)); |
// If we've started a drag and drop operation, ignore input events until |
// we're done. |
if (m_doingDragAndDrop) |