mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 14:18:48 +00:00
import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1235830 - Renaming GetInternalNSEvent to WidgetEvent, in nsIDOMEvent r=smaug (cc4346fac9) - Bug 1235899 - Don't allow frame reconstruction to clobber the APZ scroll offset. r=botond (4c4de0dedd) - Bug 1073224 - [1.2] Use SENSOR_ROTATION_VECTOR for DOM DeviceOrientation events on Android. r=vlad (0362a236bc) - Bug 1073224 - [2.1] Accept rotation vector device sensor listeners in tests. r=vlad (de453a3439) - Bug 1205649 - [1.1] Use relative orientation for DOM DeviceOrientation events by default. r=vlad (cf903846b3) - Bug 1205649 - [2.4] Add AbsoluteDeviceOrientation DOM event for compass heading orientation data. r=smaug (fa19ea545f)
This commit is contained in:
@@ -873,7 +873,7 @@ nsTextInputListener::HandleEvent(nsIDOMEvent* aEvent)
|
||||
}
|
||||
|
||||
WidgetKeyboardEvent* keyEvent =
|
||||
aEvent->GetInternalNSEvent()->AsKeyboardEvent();
|
||||
aEvent->WidgetEventPtr()->AsKeyboardEvent();
|
||||
if (!keyEvent) {
|
||||
return NS_ERROR_UNEXPECTED;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user