Module: wine Branch: master Commit: dce83a304d98199d00afe22791242920b3e83fdb URL: http://source.winehq.org/git/wine.git/?a=commit;h=dce83a304d98199d00afe22791...
Author: Jacek Caban jacek@codeweavers.com Date: Mon Jul 30 15:55:57 2012 +0200
mshtml: Use inner window directly in HTMLImageElementFactory implementation.
---
dlls/mshtml/htmlimg.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/htmlimg.c b/dlls/mshtml/htmlimg.c index be33a71..06c8b3d 100644 --- a/dlls/mshtml/htmlimg.c +++ b/dlls/mshtml/htmlimg.c @@ -809,12 +809,12 @@ static HRESULT WINAPI HTMLImageElementFactory_create(IHTMLImageElementFactory *i TRACE("(%p)->(%s %s %p)\n", This, debugstr_variant(&width), debugstr_variant(&height), img_elem);
- if(!This->window || !This->window->base.inner_window->doc) { + if(!This->window || !This->window->doc) { WARN("NULL doc\n"); return E_UNEXPECTED; }
- doc = This->window->base.inner_window->doc; + doc = This->window->doc;
*img_elem = NULL;