mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1178513
- Fix non-unified bustage. r=wchen
This commit is contained in:
parent
a63279c869
commit
18c82ba019
@ -27,7 +27,7 @@ NS_NewHTMLExtAppElement(already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo,
|
||||
already_AddRefed<mozilla::dom::NodeInfo> aarni = ni.forget();
|
||||
|
||||
if (!permissionManager) {
|
||||
return new HTMLUnknownElement(aarni);
|
||||
return new mozilla::dom::HTMLUnknownElement(aarni);
|
||||
}
|
||||
|
||||
uint32_t perm = nsIPermissionManager::UNKNOWN_ACTION;
|
||||
@ -35,10 +35,10 @@ NS_NewHTMLExtAppElement(already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo,
|
||||
"external-app",
|
||||
&perm);
|
||||
if (perm != nsIPermissionManager::ALLOW_ACTION) {
|
||||
return new HTMLUnknownElement(aarni);
|
||||
return new mozilla::dom::HTMLUnknownElement(aarni);
|
||||
}
|
||||
|
||||
return new HTMLExtAppElement(aarni);
|
||||
return new mozilla::dom::HTMLExtAppElement(aarni);
|
||||
}
|
||||
|
||||
namespace mozilla {
|
||||
|
Loading…
Reference in New Issue
Block a user