diff --git a/layout/base/nsPresShell.cpp b/layout/base/nsPresShell.cpp index c5b30f753a8..acd2765f495 100644 --- a/layout/base/nsPresShell.cpp +++ b/layout/base/nsPresShell.cpp @@ -1714,7 +1714,7 @@ PresShell::ContentStateChanged(nsIDocument* aDocument, nsresult rv = mStyleSet->ContentStateChanged(mPresContext, aContent); ExitReflowLock(); if (mSelection) - mSelection->ResetSelection(this, mRootFrame); + //mSelection->ResetSelection(this, mRootFrame); return rv; } diff --git a/layout/html/base/src/nsPresShell.cpp b/layout/html/base/src/nsPresShell.cpp index c5b30f753a8..acd2765f495 100644 --- a/layout/html/base/src/nsPresShell.cpp +++ b/layout/html/base/src/nsPresShell.cpp @@ -1714,7 +1714,7 @@ PresShell::ContentStateChanged(nsIDocument* aDocument, nsresult rv = mStyleSet->ContentStateChanged(mPresContext, aContent); ExitReflowLock(); if (mSelection) - mSelection->ResetSelection(this, mRootFrame); + //mSelection->ResetSelection(this, mRootFrame); return rv; }