Fixing bug 387884. Use of assignment instead of comparison in assertion. r+sr=roc@ocallahan.org

This commit is contained in:
jwatt@jwatt.org 2007-07-13 04:03:48 -07:00
Родитель 7a215e8f8b
Коммит 84900c1eab
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -5358,7 +5358,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