Trivial, bug 41772, we were not setting the return value in all cases for HandleEventInternal. r=jst.

This commit is contained in:
heikki%netscape.com 2000-08-10 22:07:33 +00:00
parent 91b7d6ef1f
commit 277fca0c27
2 changed files with 2 additions and 2 deletions

View File

@ -4007,7 +4007,7 @@ PresShell::HandleEventWithTarget(nsEvent* aEvent, nsIFrame* aFrame, nsIContent*
nsresult
PresShell::HandleEventInternal(nsEvent* aEvent, nsIView *aView, nsEventStatus* aStatus)
{
nsresult rv;
nsresult rv = NS_OK;
nsIEventStateManager *manager;
if (NS_OK == mPresContext->GetEventStateManager(&manager) && GetCurrentEventFrame()) {

View File

@ -4007,7 +4007,7 @@ PresShell::HandleEventWithTarget(nsEvent* aEvent, nsIFrame* aFrame, nsIContent*
nsresult
PresShell::HandleEventInternal(nsEvent* aEvent, nsIView *aView, nsEventStatus* aStatus)
{
nsresult rv;
nsresult rv = NS_OK;
nsIEventStateManager *manager;
if (NS_OK == mPresContext->GetEventStateManager(&manager) && GetCurrentEventFrame()) {