diff --git a/layout/html/base/src/nsHTMLTagContent.h b/layout/html/base/src/nsHTMLTagContent.h
index 9619df075b4..d09842d12a9 100644
--- a/layout/html/base/src/nsHTMLTagContent.h
+++ b/layout/html/base/src/nsHTMLTagContent.h
@@ -141,7 +141,7 @@ public:
* percent (n%),
* or proportional (n*)
*/
- static void nsHTMLTagContent::ParseValueOrPercentOrProportional(const nsString& aString,
+ static void ParseValueOrPercentOrProportional(const nsString& aString,
nsHTMLValue& aResult,
nsHTMLUnit aValueUnit);