Commit c8bb048b authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Abstract BSCallback implementation.

parent 6738db5a
......@@ -54,7 +54,7 @@
typedef struct HTMLDOMNode HTMLDOMNode;
typedef struct ConnectionPoint ConnectionPoint;
typedef struct BSCallback BSCallback;
typedef struct BSCallback nsChannelBSC;
typedef struct nsChannelBSC nsChannelBSC;
typedef struct {
const IHTMLWindow2Vtbl *lpHTMLWindow2Vtbl;
......@@ -479,7 +479,7 @@ typedef struct task_t {
TASK_START_BINDING
} task_id;
BSCallback *bscallback;
nsChannelBSC *bscallback;
struct task_t *next;
} task_t;
......
......@@ -215,7 +215,7 @@ static void task_start_binding(HTMLDocument *doc, BSCallback *bscallback)
{
if(doc)
start_binding(doc, bscallback, NULL);
IBindStatusCallback_Release(STATUSCLB(bscallback));
IUnknown_Release((IUnknown*)bscallback);
}
static void process_task(task_t *task)
......@@ -231,7 +231,7 @@ static void process_task(task_t *task)
set_progress(task->doc);
break;
case TASK_START_BINDING:
task_start_binding(task->doc, task->bscallback);
task_start_binding(task->doc, (BSCallback*)task->bscallback);
break;
default:
ERR("Wrong task_id %d\n", task->task_id);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment