mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-06 06:22:33 +00:00
Fix blinking selection on mouseover
This commit is contained in:
parent
b7780e7118
commit
f6b9ad3e7e
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user