Jacek Caban : mshtml: Use inner window directly in HTMLOptionElementFactory implementation.
Alexandre Julliard
julliard at winehq.org
Mon Jul 30 14:18:52 CDT 2012
Module: wine
Branch: master
Commit: e78537ffa236a05d07b9df5580ccf65b062da3e1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e78537ffa236a05d07b9df5580ccf65b062da3e1
Author: Jacek Caban <jacek at codeweavers.com>
Date: Mon Jul 30 15:56:07 2012 +0200
mshtml: Use inner window directly in HTMLOptionElementFactory implementation.
---
dlls/mshtml/htmloption.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/mshtml/htmloption.c b/dlls/mshtml/htmloption.c
index fac06ed..8722228 100644
--- a/dlls/mshtml/htmloption.c
+++ b/dlls/mshtml/htmloption.c
@@ -458,18 +458,18 @@ static HRESULT WINAPI HTMLOptionElementFactory_create(IHTMLOptionElementFactory
TRACE("(%p)->(%s %s %s %s %p)\n", This, debugstr_variant(&text), debugstr_variant(&value),
debugstr_variant(&defaultselected), debugstr_variant(&selected), optelem);
- if(!This->window || !This->window->base.inner_window->doc) {
+ if(!This->window || !This->window->doc) {
WARN("NULL doc\n");
return E_UNEXPECTED;
}
*optelem = NULL;
- hres = create_nselem(This->window->base.inner_window->doc, optionW, &nselem);
+ hres = create_nselem(This->window->doc, optionW, &nselem);
if(FAILED(hres))
return hres;
- hres = get_node(This->window->base.inner_window->doc, (nsIDOMNode*)nselem, TRUE, &node);
+ hres = get_node(This->window->doc, (nsIDOMNode*)nselem, TRUE, &node);
nsIDOMHTMLElement_Release(nselem);
if(FAILED(hres))
return hres;
More information about the wine-cvs
mailing list