From 7bb1323a6639ddb47c897f37084c3d137446ee82 Mon Sep 17 00:00:00 2001 From: Ravi Shankar Date: Sat, 8 Apr 2017 12:47:44 +0530 Subject: [PATCH] Bug 1354775 - Prefer '=' for setting TrackList values in eCSSUnit_Inherit; r=heycam MozReview-Commit-ID: 16dHlgrA9OZ --HG-- extra : rebase_source : 5f04433931b4cbf6f0a0c7ec2b7fd2f810d62187 --- layout/style/nsRuleNode.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/layout/style/nsRuleNode.cpp b/layout/style/nsRuleNode.cpp index 68cf3fa031f3..19565f00b378 100644 --- a/layout/style/nsRuleNode.cpp +++ b/layout/style/nsRuleNode.cpp @@ -8321,14 +8321,7 @@ SetGridTrackList(const nsCSSValue& aValue, case eCSSUnit_Inherit: aConditions.SetUncacheable(); - aResult.mIsSubgrid = aParentValue.mIsSubgrid; - aResult.mLineNameLists = aParentValue.mLineNameLists; - aResult.mMinTrackSizingFunctions = aParentValue.mMinTrackSizingFunctions; - aResult.mMaxTrackSizingFunctions = aParentValue.mMaxTrackSizingFunctions; - aResult.mRepeatAutoLineNameListBefore = aParentValue.mRepeatAutoLineNameListBefore; - aResult.mRepeatAutoLineNameListAfter = aParentValue.mRepeatAutoLineNameListAfter; - aResult.mRepeatAutoIndex = aParentValue.mRepeatAutoIndex; - aResult.mIsAutoFill = aParentValue.mIsAutoFill; + aResult = aParentValue; break; case eCSSUnit_Initial: