Jacek Caban (@jacek) commented about dlls/mshtml/htmlwindow.c:
TRACE("(%p)->(%p)\n", This, p);
- if(!window->image_factory) {
HRESULT hres;
hres = HTMLImageElementFactory_Create(window, &window->image_factory);
- if(!window->constructors[CTOR_HTMLImageElementFactory]) {
}HRESULT hres = HTMLImageElementFactory_Create(window, &window->constructors[CTOR_HTMLImageElementFactory]); if(FAILED(hres)) return hres;
Can we just use `get_constructor` here?