Fixing mac builds, bug Bug 354694

git-svn-id: svn://10.0.0.236/trunk@215376 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
Olli.Pettay%helsinki.fi 2006-11-16 22:37:23 +00:00
parent 2410bee72f
commit c6025f4ac2

View File

@ -2991,7 +2991,7 @@ nsEventStatus nsPluginInstanceOwner::ProcessEvent(const nsGUIEvent& anEvent)
if (eventHandled && !(anEvent.eventStructType == NS_MOUSE_EVENT &&
anEvent.message == NS_MOUSE_BUTTON_DOWN &&
NS_STATIC_CAST(nsMouseEvent, anEvent).button ==
NS_STATIC_CAST(const nsMouseEvent&, anEvent).button ==
nsMouseEvent::eLeftButton &&
!mContentFocused))
rv = nsEventStatus_eConsumeNoDefault;