зеркало из https://github.com/mozilla/gecko-dev.git
Bug 191580 typeaheadfind accesses sound device on Linux when it's set to just "beep"
r=biesi sr=bryner
This commit is contained in:
Родитель
bef3337eff
Коммит
19c6447c6c
|
@ -614,7 +614,7 @@ nsTypeAheadFind::KeyPress(nsIDOMEvent* aEvent)
|
|||
// by waiting for the first keystroke, we still get the startup time benefits.
|
||||
mIsSoundInitialized = PR_TRUE;
|
||||
mSoundInterface = do_CreateInstance("@mozilla.org/sound;1");
|
||||
if (mSoundInterface) {
|
||||
if (mSoundInterface && !mNotFoundSoundURL.Equals(NS_LITERAL_CSTRING("beep"))) {
|
||||
mSoundInterface->Init();
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче