From 77a930be6692335e64c1037e1c5b6bf3382ee249 Mon Sep 17 00:00:00 2001 From: "mark%moxienet.com" Date: Thu, 27 Jul 2006 23:41:26 +0000 Subject: [PATCH] 26269 Remvoe bogus assertions to fix debug build bustage. git-svn-id: svn://10.0.0.236/trunk@205006 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/src/mac/nsMacEventHandler.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/mozilla/widget/src/mac/nsMacEventHandler.cpp b/mozilla/widget/src/mac/nsMacEventHandler.cpp index e52e4a061d0..9de90f7db82 100644 --- a/mozilla/widget/src/mac/nsMacEventHandler.cpp +++ b/mozilla/widget/src/mac/nsMacEventHandler.cpp @@ -1124,12 +1124,10 @@ PRBool nsMacEventHandler::HandleUKeyEvent(const PRUnichar* text, long charCount, nsMouseEvent contextMenuEvent(PR_TRUE, 0, nsnull, nsMouseEvent::eReal); ConvertKeyEventToContextMenuEvent(&keyPressEvent, &contextMenuEvent); handled |= focusedWidget->DispatchWindowEvent(contextMenuEvent); - NS_ASSERTION(NS_SUCCEEDED(result), "cannot DispatchWindowEvent"); } else { // Send ordinary keypresses handled |= focusedWidget->DispatchWindowEvent(keyPressEvent); - NS_ASSERTION(NS_SUCCEEDED(result), "cannot DispatchWindowEvent"); } } } @@ -1138,7 +1136,6 @@ PRBool nsMacEventHandler::HandleUKeyEvent(const PRUnichar* text, long charCount, nsKeyEvent keyPressEvent(PR_TRUE, NS_KEY_PRESS, nsnull); InitializeKeyEvent(keyPressEvent, aOSEvent, focusedWidget, NS_KEY_PRESS, PR_FALSE); handled = focusedWidget->DispatchWindowEvent(keyPressEvent); - NS_ASSERTION(NS_SUCCEEDED(result), "cannot DispatchWindowEvent"); } return handled; }