Commit 36fec4ba authored by Daniel Veditz's avatar Daniel Veditz
Browse files

bug 490425 fix nsView crash, patch from Martin Stransky, r/sr=roc

parent 8714d191
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -164,7 +164,8 @@ nsEventStatus HandleEvent(nsGUIEvent *aEvent)

  if (view)
  {
    view->GetViewManager()->DispatchEvent(aEvent, &result);
    nsCOMPtr<nsIViewManager> vm = view->GetViewManager();
    vm->DispatchEvent(aEvent, &result);
  }

  return result;