mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1033464 - Do not set nsXBLPrototypeBinding binding element for ShadowRoot. r=smaug
--HG-- extra : rebase_source : 2ba913a39fe1c57a50d499b3ebea707024742101
This commit is contained in:
parent
4c55acb4db
commit
cfe73894a6
@ -957,7 +957,7 @@ Element::CreateShadowRoot(ErrorResult& aError)
|
||||
|
||||
nsXBLPrototypeBinding* protoBinding = new nsXBLPrototypeBinding();
|
||||
aError = protoBinding->Init(NS_LITERAL_CSTRING("shadowroot"),
|
||||
docInfo, this, true);
|
||||
docInfo, nullptr, true);
|
||||
if (aError.Failed()) {
|
||||
delete protoBinding;
|
||||
return nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user