Jacek Caban : mshtml: Pass E_ABORT as binding results of bindings without IBinding in abort_document_bindings .
Alexandre Julliard
julliard at winehq.org
Mon May 16 11:36:45 CDT 2011
Module: wine
Branch: master
Commit: b9bfc10199ba3ae121f9257397b4df2e6f35197e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b9bfc10199ba3ae121f9257397b4df2e6f35197e
Author: Jacek Caban <jacek at codeweavers.com>
Date: Fri May 13 18:18:23 2011 +0200
mshtml: Pass E_ABORT as binding results of bindings without IBinding in abort_document_bindings.
---
dlls/mshtml/navigate.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/mshtml/navigate.c b/dlls/mshtml/navigate.c
index 9e45025..2d45f09 100644
--- a/dlls/mshtml/navigate.c
+++ b/dlls/mshtml/navigate.c
@@ -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;
More information about the wine-cvs
mailing list