mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
fix bustage from Bug 828169 on a CLOSED TREE
This commit is contained in:
parent
142e0b1b12
commit
0238239fbb
@ -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…
Reference in New Issue
Block a user