mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1219868: Don't warn for CreateAnonymousContent failure (due to e.g. detecting & breaking <use> reference loops). r=jwatt
This commit is contained in:
parent
1de24e1989
commit
fe8658b40c
@ -4007,7 +4007,10 @@ nsCSSFrameConstructor::GetAnonymousContent(nsIContent* aParent,
|
||||
return NS_OK;
|
||||
|
||||
nsresult rv = creator->CreateAnonymousContent(aContent);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
if (NS_FAILED(rv)) {
|
||||
// CreateAnonymousContent failed, e.g. because the page has a <use> loop.
|
||||
return rv;
|
||||
}
|
||||
|
||||
uint32_t count = aContent.Length();
|
||||
for (uint32_t i=0; i < count; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user