Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on. r=troy@netscape.com git-svn-id: svn://10.0.0.236/trunk@64566 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1900,6 +1900,10 @@ PRBool CSSParserImpl::ParseColor(PRInt32& aErrorCode, nsCSSValue& aValue)
|
||||
str.Append(tk->mIdent);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
// There is a whole bunch of cases that are
|
||||
// not handled by this switch. Ignore them.
|
||||
break;
|
||||
}
|
||||
if (NS_HexToRGB(str, &rgba)) {
|
||||
aValue.SetColorValue(rgba);
|
||||
|
||||
Reference in New Issue
Block a user