Bug 1323158 - Part 5: Update test_pointerevent_releasepointercapture_events_to_original_target-manual.html. r=smaug

This commit is contained in:
Stone Shih
2017-03-03 13:24:20 +08:00
parent aa7dbf0c01
commit fc539f8060
3 changed files with 50 additions and 24 deletions

View File

@@ -8240,11 +8240,10 @@ nsIPresShell::DispatchGotOrLostPointerCaptureEvent(
ePointerLostCapture,
aPointerEvent->mWidget);
localEvent.AssignPointerEventData(*aPointerEvent, true);
nsresult rv =
static_cast<PresShell*>(shell)->HandleEventWithTarget(
&localEvent,
aCaptureTarget->GetPrimaryFrame(),
aCaptureTarget, &status);
nsresult rv = shell->HandleEventWithTarget(
&localEvent,
aCaptureTarget->GetPrimaryFrame(),
aCaptureTarget, &status);
NS_ENSURE_SUCCESS_VOID(rv);
}