зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1230617 - Editing text in an input field causes actionbar jank, r=snorp
This commit is contained in:
Родитель
bff957c789
Коммит
d4c7277278
|
@ -2363,7 +2363,6 @@ nsWindow::Natives::OnImeReplaceText(int32_t aStart, int32_t aEnd,
|
|||
event.mOffset = uint32_t(aStart);
|
||||
event.mLength = uint32_t(aEnd - aStart);
|
||||
event.mExpandToClusterBoundary = false;
|
||||
event.mReason = nsISelectionListener::IME_REASON;
|
||||
window.DispatchEvent(&event);
|
||||
}
|
||||
|
||||
|
@ -2492,7 +2491,6 @@ nsWindow::Natives::OnImeUpdateComposition(int32_t aStart, int32_t aEnd)
|
|||
selEvent.mLength = std::max(aStart, aEnd) - selEvent.mOffset;
|
||||
selEvent.mReversed = aStart > aEnd;
|
||||
selEvent.mExpandToClusterBoundary = false;
|
||||
selEvent.mReason = nsISelectionListener::IME_REASON;
|
||||
|
||||
window.DispatchEvent(&selEvent);
|
||||
return;
|
||||
|
|
Загрузка…
Ссылка в новой задаче