From 2e3d89ec9655c1ffc9d5472474eb3dda1e221194 Mon Sep 17 00:00:00 2001 From: "dbaron%dbaron.org" Date: Fri, 3 Aug 2007 00:09:18 +0000 Subject: [PATCH] Relanding patch for bug 387884 that I accidentally reverted while relanding bug 66619 (a=DEBUG-only): Patch by jwatt@jwatt.org: Fixing bug 387884. Use of assignment instead of comparison in assertion. r+sr=roc@ocallahan.org git-svn-id: svn://10.0.0.236/trunk@231386 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/base/nsPresShell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/layout/base/nsPresShell.cpp b/mozilla/layout/base/nsPresShell.cpp index 2a6d48a3f97..a9339683401 100644 --- a/mozilla/layout/base/nsPresShell.cpp +++ b/mozilla/layout/base/nsPresShell.cpp @@ -5409,7 +5409,7 @@ PresShell::HandleEvent(nsIView *aView, nsPresContext* framePresContext = frame->PresContext(); nsPresContext* rootPresContext = framePresContext->RootPresContext(); - NS_ASSERTION(rootPresContext = mPresContext->RootPresContext(), + NS_ASSERTION(rootPresContext == mPresContext->RootPresContext(), "How did we end up outside the connected prescontext/viewmanager hierarchy?"); // If we aren't starting our event dispatch from the root frame of the root prescontext, // then someone must be capturing the mouse. In that case we don't want to search the popup