mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 1177011 - Ignore restarting the same content observer in EventStateManager; r=masayuki
This commit is contained in:
parent
cb155dcae8
commit
0bf9d84044
@ -455,6 +455,9 @@ void
|
||||
EventStateManager::OnStartToObserveContent(
|
||||
IMEContentObserver* aIMEContentObserver)
|
||||
{
|
||||
if (mIMEContentObserver == aIMEContentObserver) {
|
||||
return;
|
||||
}
|
||||
ReleaseCurrentIMEContentObserver();
|
||||
mIMEContentObserver = aIMEContentObserver;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user