Bug 1118417 - Mark virtual overridden functions as MOZ_OVERRIDE in parser; r=hsivonen

This commit is contained in:
Ehsan Akhgari
2015-01-06 15:11:44 -05:00
parent 4b3f60067b
commit 5c1aa90db7
11 changed files with 105 additions and 124 deletions

View File

@@ -92,7 +92,7 @@ class nsHtml5ParserThreadTerminator MOZ_FINAL : public nsIObserver
explicit nsHtml5ParserThreadTerminator(nsIThread* aThread)
: mThread(aThread)
{}
NS_IMETHODIMP Observe(nsISupports *, const char *topic, const char16_t *)
NS_IMETHODIMP Observe(nsISupports *, const char *topic, const char16_t *) MOZ_OVERRIDE
{
NS_ASSERTION(!strcmp(topic, "xpcom-shutdown-threads"),
"Unexpected topic");