Bug 1178513 - Fix non-unified bustage. r=wchen

This commit is contained in:
Ryan VanderMeulen 2015-07-02 19:39:03 -04:00
parent a63279c869
commit 18c82ba019

View File

@ -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 {