mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 15:55:16 +00:00
Fix misplaced ) in debug-only code b=344423 r=aaronlev sr=jag
This commit is contained in:
parent
daae1bcfcb
commit
4744306fd3
@ -4607,8 +4607,8 @@ nsEditor::DeleteSelectionImpl(nsIEditor::EDirection aAction)
|
||||
if (aAction == ePrevious || aAction == eNext) {
|
||||
#ifdef DEBUG
|
||||
PRUint32 flags;
|
||||
NS_ASSERTION(NS_SUCCEEDED(GetFlags(&flags) &&
|
||||
(flags & nsIPlaintextEditor::eEditorPlaintextMask)),
|
||||
NS_ASSERTION(NS_SUCCEEDED(GetFlags(&flags)) &&
|
||||
(flags & nsIPlaintextEditor::eEditorPlaintextMask),
|
||||
"Should not have reached this point in rich text editor");
|
||||
#endif
|
||||
res = selection->GetIsCollapsed(&isDeletingOneChar);
|
||||
|
Loading…
x
Reference in New Issue
Block a user