Index: sky/engine/web/WebViewImpl.cpp |
diff --git a/sky/engine/web/WebViewImpl.cpp b/sky/engine/web/WebViewImpl.cpp |
index f62e9b4d794eb61aae4b26658af2324c81f0c258..342bd53d669941333e55d8b6bf7a87d318f1cf67 100644 |
--- a/sky/engine/web/WebViewImpl.cpp |
+++ b/sky/engine/web/WebViewImpl.cpp |
@@ -311,7 +311,8 @@ static String inputTypeToName(WebInputEvent::Type type) |
bool WebViewImpl::handleInputEvent(const WebInputEvent& inputEvent) |
{ |
- TRACE_EVENT1("input", "WebViewImpl::handleInputEvent", "type", inputTypeToName(inputEvent.type).ascii().data()); |
+ TRACE_EVENT1("input", "WebViewImpl::handleInputEvent", "type", |
+ TRACE_STR_COPY(inputTypeToName(inputEvent.type).ascii().data())); |
if (WebInputEvent::isPointerEventType(inputEvent.type)) { |
const WebPointerEvent& event = static_cast<const WebPointerEvent&>(inputEvent); |