зеркало из https://github.com/mozilla/gecko-dev.git
Bug 634387 - "[Mac] Firefox 4.0b12pre crash in mozilla::plugins::PPluginInstanceChild::FatalError [@ mozalloc_abort | NS_DebugBreak_P] opening a tab with Cmd-T while a Flash video has focus (youtube)" [r=smichaud, a=hardblocker]
This commit is contained in:
Родитель
b8af053c68
Коммит
272a8fc016
|
@ -5761,6 +5761,7 @@ static const char* ToEscapedString(NSString* aString, nsCAutoString& aBuf)
|
|||
[self convertCocoaKeyEvent:theEvent toGeckoEvent:&geckoEvent];
|
||||
|
||||
// create event for use by plugins
|
||||
if (mIsPluginView) {
|
||||
#ifndef NP_NO_CARBON
|
||||
EventRecord carbonEvent;
|
||||
if (mPluginEventModel == NPEventModelCarbon) {
|
||||
|
@ -5773,6 +5774,7 @@ static const char* ToEscapedString(NSString* aString, nsCAutoString& aBuf)
|
|||
ConvertCocoaKeyEventToNPCocoaEvent(theEvent, cocoaEvent, message);
|
||||
geckoEvent.pluginEvent = &cocoaEvent;
|
||||
}
|
||||
}
|
||||
|
||||
mGeckoChild->DispatchWindowEvent(geckoEvent);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче