зеркало из https://github.com/mozilla/pjs.git
fix for 67847 take 2: forgot to add in requested reviewer changes in previous checkin
This commit is contained in:
Родитель
29a1cb745b
Коммит
908a89c870
|
@ -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?
|
||||
|
|
Загрузка…
Ссылка в новой задаче