author | Masayuki Nakano <masayuki@d-toybox.com> |
Mon, 20 Nov 2017 22:20:02 +0900 | |
changeset 393064 | 21522127515146fb7742f4e52c5d4c860bc71562 |
parent 393063 | e55035922259c5449c4004f23b87efe307c2606b |
child 393065 | e8d7881af680c693612c2ed42d3486c5ad4c8e42 |
push id | 55827 |
push user | masayuki@d-toybox.com |
push date | Wed, 22 Nov 2017 12:53:08 +0000 |
treeherder | autoland@7a3e5d976499 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | m_kato |
bugs | 1405832 |
milestone | 59.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/widget/ContentCache.cpp +++ b/widget/ContentCache.cpp @@ -1318,16 +1318,21 @@ ContentCacheInParent::RequestIMEToCommit // Use the latest composition string which may not be handled in the // remote process for avoiding data loss. #ifdef MOZ_CRASHREPORTER mRequestIMEToCommitCompositionResults. AppendElement(RequestIMEToCommitCompositionResult:: eReceivedAfterTabParentBlur); #endif // #ifdef MOZ_CRASHREPORTER aCommittedString = mCompositionString; + // After we return true from here, i.e., without actually requesting IME + // to commit composition, we will receive eCompositionCommitRequestHandled + // pseudo event message from the remote process. So, we need to increment + // mPendingEventsNeedingAck here. + mPendingEventsNeedingAck++; return true; } RefPtr<TextComposition> composition = IMEStateManager::GetTextCompositionFor(aWidget); if (NS_WARN_IF(!composition)) { MOZ_LOG(sContentCacheLog, LogLevel::Warning, (" 0x%p RequestToCommitComposition(), "