mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-05 16:22:53 +00:00
fix bustage from Bug 828169 on a CLOSED TREE
This commit is contained in:
parent
4d67018cf9
commit
7147fa3929
@ -183,12 +183,12 @@ NS_IMETHODIMP SplitElementTxn::RedoTransaction(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
nsresult result;
|
||||
// first, massage the existing node so it is in its post-split state
|
||||
nsCOMPtr<nsIDOMCharacterData>rightNodeAsText = do_QueryInterface(mExistingRightNode);
|
||||
if (rightNodeAsText)
|
||||
{
|
||||
result = rightNodeAsText->DeleteData(0, mOffset);
|
||||
nsresult result = rightNodeAsText->DeleteData(0, mOffset);
|
||||
NS_ENSURE_SUCCESS(result, result);
|
||||
#ifdef DEBUG
|
||||
if (gNoisy)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user