Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
fb2b06a1
Commit
fb2b06a1
authored
May 12, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
May 14, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Don't call start_binding if we use necko to load the page.
parent
836c672d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
persist.c
dlls/mshtml/persist.c
+13
-4
No files found.
dlls/mshtml/persist.c
View file @
fb2b06a1
...
...
@@ -113,7 +113,7 @@ static nsIInputStream *get_post_data_stream(IBindCtx *bctx)
return
ret
;
}
static
HRESULT
set_moniker
(
HTMLDocument
*
This
,
IMoniker
*
mon
,
IBindCtx
*
pibc
)
static
HRESULT
set_moniker
(
HTMLDocument
*
This
,
IMoniker
*
mon
,
IBindCtx
*
pibc
,
BOOL
*
bind_complete
)
{
BSCallback
*
bscallback
;
LPOLESTR
url
=
NULL
;
...
...
@@ -237,6 +237,9 @@ static HRESULT set_moniker(HTMLDocument *This, IMoniker *mon, IBindCtx *pibc)
IBindStatusCallback_Release
(
STATUSCLB
(
bscallback
));
CoTaskMemFree
(
url
);
if
(
bind_complete
)
*
bind_complete
=
TRUE
;
return
S_OK
;
}
else
if
(
nsres
!=
WINE_NS_LOAD_FROM_MONIKER
)
{
WARN
(
"LoadURI failed: %08x
\n
"
,
nsres
);
...
...
@@ -247,6 +250,8 @@ static HRESULT set_moniker(HTMLDocument *This, IMoniker *mon, IBindCtx *pibc)
IBindStatusCallback_Release
(
STATUSCLB
(
bscallback
));
CoTaskMemFree
(
url
);
if
(
bind_complete
)
*
bind_complete
=
FALSE
;
return
S_OK
;
}
...
...
@@ -335,15 +340,19 @@ static HRESULT WINAPI PersistMoniker_Load(IPersistMoniker *iface, BOOL fFullyAva
IMoniker
*
pimkName
,
LPBC
pibc
,
DWORD
grfMode
)
{
HTMLDocument
*
This
=
PERSISTMON_THIS
(
iface
);
BOOL
bind_complete
=
FALSE
;
HRESULT
hres
;
TRACE
(
"(%p)->(%x %p %p %08x)
\n
"
,
This
,
fFullyAvailable
,
pimkName
,
pibc
,
grfMode
);
hres
=
set_moniker
(
This
,
pimkName
,
pibc
);
hres
=
set_moniker
(
This
,
pimkName
,
pibc
,
&
bind_complete
);
if
(
FAILED
(
hres
))
return
hres
;
return
start_binding
(
This
->
bscallback
);
if
(
!
bind_complete
)
return
start_binding
(
This
->
bscallback
);
return
S_OK
;
}
static
HRESULT
WINAPI
PersistMoniker_Save
(
IPersistMoniker
*
iface
,
IMoniker
*
pimkName
,
...
...
@@ -571,7 +580,7 @@ static HRESULT WINAPI PersistStreamInit_Load(IPersistStreamInit *iface, LPSTREAM
return
hres
;
}
hres
=
set_moniker
(
This
,
mon
,
NULL
);
hres
=
set_moniker
(
This
,
mon
,
NULL
,
NULL
);
IMoniker_Release
(
mon
);
if
(
FAILED
(
hres
))
return
hres
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment