mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
mshtml: Don't do anything in SetNSContainer if new container is the same as previous.
This commit is contained in:
parent
d8a761c0ab
commit
6b48198d3c
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user