back out 376077, too problematic for beta 2.

git-svn-id: svn://10.0.0.236/trunk@240541 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
joshmoz%gmail.com 2007-12-05 21:19:07 +00:00
parent 47dd82d5db
commit a28ebfb45d

View File

@ -4106,11 +4106,7 @@ static BOOL keyUpAlreadySentKeyDown = NO;
ConvertCocoaKeyEventToMacEvent(theEvent, macEvent);
geckoEvent.nativeMsg = &macEvent;
mGeckoChild->DispatchWindowEvent(geckoEvent);
// We always return YES here because we can't know for sure if Gecko
// handled the event, even with the return value for the event dispatch.
return YES;
return (BOOL)mGeckoChild->DispatchWindowEvent(geckoEvent);
}