diff --git a/content/html/style/src/nsCSSParser.cpp b/content/html/style/src/nsCSSParser.cpp index e295b5378f5d..c91597735e36 100644 --- a/content/html/style/src/nsCSSParser.cpp +++ b/content/html/style/src/nsCSSParser.cpp @@ -1913,8 +1913,7 @@ PRBool CSSParserImpl::ParseBackground(PRInt32* aErrorCode, nsICSSDeclaration* aD } if ((found & 2) == 0) { aDeclaration->AppendValue(kBackgroundNames[1], - nsCSSValue(NS_STYLE_BG_IMAGE_NONE, - eCSSUnit_Enumerated)); + nsCSSValue(eCSSUnit_None)); } if ((found & 4) == 0) { aDeclaration->AppendValue(kBackgroundNames[2], diff --git a/layout/html/style/src/nsCSSParser.cpp b/layout/html/style/src/nsCSSParser.cpp index e295b5378f5d..c91597735e36 100644 --- a/layout/html/style/src/nsCSSParser.cpp +++ b/layout/html/style/src/nsCSSParser.cpp @@ -1913,8 +1913,7 @@ PRBool CSSParserImpl::ParseBackground(PRInt32* aErrorCode, nsICSSDeclaration* aD } if ((found & 2) == 0) { aDeclaration->AppendValue(kBackgroundNames[1], - nsCSSValue(NS_STYLE_BG_IMAGE_NONE, - eCSSUnit_Enumerated)); + nsCSSValue(eCSSUnit_None)); } if ((found & 4) == 0) { aDeclaration->AppendValue(kBackgroundNames[2], diff --git a/layout/style/nsCSSParser.cpp b/layout/style/nsCSSParser.cpp index e295b5378f5d..c91597735e36 100644 --- a/layout/style/nsCSSParser.cpp +++ b/layout/style/nsCSSParser.cpp @@ -1913,8 +1913,7 @@ PRBool CSSParserImpl::ParseBackground(PRInt32* aErrorCode, nsICSSDeclaration* aD } if ((found & 2) == 0) { aDeclaration->AppendValue(kBackgroundNames[1], - nsCSSValue(NS_STYLE_BG_IMAGE_NONE, - eCSSUnit_Enumerated)); + nsCSSValue(eCSSUnit_None)); } if ((found & 4) == 0) { aDeclaration->AppendValue(kBackgroundNames[2],