Commit 6b48198d authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Don't do anything in SetNSContainer if new container is the same as previous.

parent d8a761c0
......@@ -1524,6 +1524,8 @@ static nsresult NSAPI nsURI_SetNSContainer(nsIWineURI *iface, NSContainer *aCont
TRACE("(%p)->(%p)\n", This, aContainer);
if(This->container) {
if(This->container == aContainer)
return NS_OK;
WARN("Container already set: %p\n", This->container);
nsIWebBrowserChrome_Release(NSWBCHROME(This->container));
}
......
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