<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - [GTK] UIProcess crashes when using Japanese IM"
href="https://bugs.webkit.org/show_bug.cgi?id=163011#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - [GTK] UIProcess crashes when using Japanese IM"
href="https://bugs.webkit.org/show_bug.cgi?id=163011">bug 163011</a>
from <span class="vcard"><a class="email" href="mailto:cgarcia@igalia.com" title="Carlos Garcia Campos <cgarcia@igalia.com>"> <span class="fn">Carlos Garcia Campos</span></a>
</span></b>
<pre>Comment on <span class=""><a href="attachment.cgi?id=290920&action=diff" name="attach_290920" title="Fix review comments">attachment 290920</a> <a href="attachment.cgi?id=290920&action=edit" title="Fix review comments">[details]</a></span>
Fix review comments
View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=290920&action=review">https://bugs.webkit.org/attachment.cgi?id=290920&action=review</a>
<span class="quote">> Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp:710
> + priv->inputMethodFilter.filterKeyEvent(&event->key, [priv, event = WTFMove(event)](const WebCore::CompositionResults& compositionResults, InputMethodFilter::EventFakedForComposition faked) {</span >
You can use event->key here, because even has already been moved to the lambda, use keyEvent instead.
<span class="quote">> Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp:730
> + priv->inputMethodFilter.filterKeyEvent(&event->key, [priv, event = WTFMove(event)](const WebCore::CompositionResults& compositionResults, InputMethodFilter::EventFakedForComposition faked) {</span >
Ditto.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>