mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-07 05:15:09 +00:00
fix for 67847 take 2: forgot to add in requested reviewer changes in previous checkin
This commit is contained in:
parent
0d75721df5
commit
a783e94b5e
@ -1849,7 +1849,7 @@ nsHTMLEditRules::WillDeleteSelection(nsISelection *aSelection,
|
||||
rightParent = endNode;
|
||||
else
|
||||
rightParent = mHTMLEditor->GetBlockNodeParent(endNode);
|
||||
if (leftParent == rightParent) return NS_OK;
|
||||
if (leftParent.get() == rightParent.get()) return NS_OK;
|
||||
|
||||
// deleting across blocks
|
||||
// are the blocks of same type?
|
||||
|
@ -1849,7 +1849,7 @@ nsHTMLEditRules::WillDeleteSelection(nsISelection *aSelection,
|
||||
rightParent = endNode;
|
||||
else
|
||||
rightParent = mHTMLEditor->GetBlockNodeParent(endNode);
|
||||
if (leftParent == rightParent) return NS_OK;
|
||||
if (leftParent.get() == rightParent.get()) return NS_OK;
|
||||
|
||||
// deleting across blocks
|
||||
// are the blocks of same type?
|
||||
|
Loading…
Reference in New Issue
Block a user