From eae7e3b3988a7bd1dc6903362a6cff0e02b024ef Mon Sep 17 00:00:00 2001 From: CJKu Date: Thu, 4 Feb 2016 14:11:35 +0800 Subject: [PATCH] Bug 1244628: compare nsStyleImageLayers::mAttachmentCount in nsStyleImageLayers::CalcDifference. r=dbaron. --HG-- extra : commitid : JlCMq3C9wwB extra : rebase_source : f9da96c973cc556b091623611157d25d94f5fd87 --- layout/style/nsStyleStruct.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layout/style/nsStyleStruct.cpp b/layout/style/nsStyleStruct.cpp index c0cdab7efca0..26d23e5c5588 100644 --- a/layout/style/nsStyleStruct.cpp +++ b/layout/style/nsStyleStruct.cpp @@ -2321,7 +2321,8 @@ nsStyleImageLayers::CalcDifference(const nsStyleImageLayers& aOther) const return hint; } - if (mBlendModeCount != aOther.mBlendModeCount || + if (mAttachmentCount != aOther.mAttachmentCount || + mBlendModeCount != aOther.mBlendModeCount || mClipCount != aOther.mClipCount || mCompositeCount != aOther.mCompositeCount || mMaskModeCount != aOther.mMaskModeCount ||