msxml3: Properly update xmldoc refcounts on insertBefore().
commit0f3c247e46dbc7935bf6e2d563ce16f01cada9ee
authorNikolay Sivov <nsivov@codeweavers.com>
Sun, 6 Mar 2011 19:28:29 +0000 (6 22:28 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 7 Mar 2011 12:18:55 +0000 (7 13:18 +0100)
treeea4b67f82c14d8b9e4def01a176afa11454e8a43
parentd05435167ac313733edfaccb89a7747f7dc6822c
msxml3: Properly update xmldoc refcounts on insertBefore().

insertBefore() is able to work on nodes from different documents, so on
adding child or sibling it's possible that libxml2 switches doc pointer
for a node, we need to update refcounts to cover that case.
dlls/msxml3/node.c
dlls/msxml3/tests/domdoc.c