diff --git a/dom/ipc/TabParent.cpp b/dom/ipc/TabParent.cpp index 16dcea38413..e74547a4d15 100644 --- a/dom/ipc/TabParent.cpp +++ b/dom/ipc/TabParent.cpp @@ -803,6 +803,10 @@ bool TabParent::SendRealTouchEvent(WidgetTouchEvent& event) ScrollableLayerGuid guid; MaybeForwardEventToRenderFrame(event, &guid, &e); + if (mIsDestroyed) { + return false; + } + MapEventCoordinatesForChildProcess(mChildProcessOffsetAtTouchStart, &e); return (e.message == NS_TOUCH_MOVE) ?