mshtml: Pass E_ABORT as binding results of bindings without IBinding in abort_document_bindings.

This commit is contained in:
Jacek Caban 2011-05-13 18:18:23 +02:00 committed by Alexandre Julliard
parent af08c97bf9
commit b9bfc10199
1 changed files with 3 additions and 1 deletions

View File

@ -1649,6 +1649,8 @@ void abort_document_bindings(HTMLDocumentNode *doc)
BSCallback *iter, *next;
LIST_FOR_EACH_ENTRY_SAFE(iter, next, &doc->bindings, BSCallback, entry) {
TRACE("Aborting %p\n", iter);
if(iter->doc)
remove_target_tasks(iter->doc->basedoc.task_magic);
@ -1657,7 +1659,7 @@ void abort_document_bindings(HTMLDocumentNode *doc)
else {
list_remove(&iter->entry);
list_init(&iter->entry);
iter->vtbl->stop_binding(iter, S_OK);
iter->vtbl->stop_binding(iter, E_ABORT);
}
iter->doc = NULL;