From 734204078e3270c8849d4d695e40ad10ffa3331a Mon Sep 17 00:00:00 2001 From: Andi-Bogdan Postelnicu Date: Mon, 21 Mar 2016 16:47:43 +0200 Subject: [PATCH] Bug 1258383 - initialize |mInputSource| with |aMouseEvent.inputSource|. r=kats MozReview-Commit-ID: GpOQyrAlsr3 --HG-- extra : rebase_source : 5d66829d7bce7b5b86efa5aa62e233bd25dfe201 --- widget/InputData.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/widget/InputData.cpp b/widget/InputData.cpp index 25afcc048bfa..31f3fc51775e 100644 --- a/widget/InputData.cpp +++ b/widget/InputData.cpp @@ -33,6 +33,7 @@ MouseInput::MouseInput(const WidgetMouseEventBase& aMouseEvent) aMouseEvent.mModifiers) , mType(MOUSE_NONE) , mButtonType(NONE) + , mInputSource(aMouseEvent.inputSource) , mButtons(aMouseEvent.buttons) , mHandledByAPZ(aMouseEvent.mFlags.mHandledByAPZ) {