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