commit | ee93710e09b0bc7d56668d0f06b85dfce21495fd | [log] [tgz] |
---|---|---|
author | Darren Shen <shend@chromium.org> | Fri Jan 04 02:43:59 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jan 04 02:43:59 2019 |
tree | bf8c87c038d867ba988e7856c3be83089a11e2aa | |
parent | 05ab1c1c2d47097a815d665ae24b50817b573ec5 [diff] |
[emoji] Remove emoji option from Mojo apps. Currently right-clicking on input fields in Mojo apps will bring up an emoji option. Clicking it would crash the app. This is because we assume that an emoji callback function always exists, but actually this is not true for Mojo apps because they are in a different process. This patch adds a null check for the emoji callback so that we don't show the emoji option when we don't have a callback. Bug: 887649 Change-Id: Iaccb0d9f890187f5c405888babefde7d3f33abe0 Reviewed-on: https://chromium-review.googlesource.com/c/1393584 Commit-Queue: Darren Shen <shend@chromium.org> Reviewed-by: Nico Weber <thakis@chromium.org> Reviewed-by: Michael Wasserman <msw@chromium.org> Cr-Commit-Position: refs/heads/master@{#619868}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .