mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
Issue #2489: Remove unnecessary initializations
This commit is contained in:
parent
a3cb799126
commit
eb7eacc565
1 changed files with 0 additions and 5 deletions
|
|
@ -7447,9 +7447,6 @@ CSSParserImpl::ParseColor(nsCSSValue& aValue)
|
|||
// check for color-mix function
|
||||
if (mToken.mIdent.LowerCaseEqualsLiteral("color-mix")) {
|
||||
// parse color-mix function
|
||||
RefPtr<mozilla::css::ColorMixValue> colorMix = new mozilla::css::ColorMixValue(
|
||||
mozilla::css::ColorMixColorSpace::sRGB, nsCSSValue(), nsCSSValue());
|
||||
|
||||
if (!GetToken(true)) {
|
||||
SkipUntil(')');
|
||||
return CSSParseResult::Error;
|
||||
|
|
@ -7465,8 +7462,6 @@ CSSParserImpl::ParseColor(nsCSSValue& aValue)
|
|||
return CSSParseResult::Error;
|
||||
}
|
||||
|
||||
colorMix->mColorSpace = mozilla::css::ColorMixColorSpace::sRGB;
|
||||
|
||||
if (!ExpectSymbol(',', true)) {
|
||||
SkipUntil(')');
|
||||
return CSSParseResult::Error;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue