summaryrefslogtreecommitdiffstats
path: root/parser/htmlparser/nsParserService.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parser/htmlparser/nsParserService.cpp')
-rw-r--r--parser/htmlparser/nsParserService.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/parser/htmlparser/nsParserService.cpp b/parser/htmlparser/nsParserService.cpp
index ab5c20c70..5893f19a9 100644
--- a/parser/htmlparser/nsParserService.cpp
+++ b/parser/htmlparser/nsParserService.cpp
@@ -76,7 +76,7 @@ nsParserService::HTMLConvertUnicodeToEntity(int32_t aUnicode,
NS_IMETHODIMP
nsParserService::IsContainer(int32_t aId, bool& aIsContainer) const
{
- aIsContainer = nsHTMLElement::IsContainer((eHTMLTags)aId);
+ aIsContainer = nsHTMLElement::IsContainer((nsHTMLTag)aId);
return NS_OK;
}
@@ -84,7 +84,7 @@ nsParserService::IsContainer(int32_t aId, bool& aIsContainer) const
NS_IMETHODIMP
nsParserService::IsBlock(int32_t aId, bool& aIsBlock) const
{
- aIsBlock = nsHTMLElement::IsBlock((eHTMLTags)aId);
+ aIsBlock = nsHTMLElement::IsBlock((nsHTMLTag)aId);
return NS_OK;
}