mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 773626; mask sharing hash functions. r=roc
This commit is contained in:
parent
9898c93b7e
commit
cd536b1d55
@ -90,7 +90,7 @@ public:
|
||||
PLDHashNumber Hash() const
|
||||
{
|
||||
PLDHashNumber hash = HashBytes(&mRect.x, 4*sizeof(gfxFloat));
|
||||
AddToHash(hash, HashBytes(mRadii, 8*sizeof(gfxFloat)));
|
||||
hash = AddToHash(hash, HashBytes(mRadii, 8*sizeof(gfxFloat)));
|
||||
|
||||
return hash;
|
||||
}
|
||||
@ -130,7 +130,7 @@ public:
|
||||
PLDHashNumber hash = 0;
|
||||
|
||||
for (PRUint32 i = 0; i < mRoundedClipRects.Length(); ++i) {
|
||||
AddToHash(hash, mRoundedClipRects[i].Hash());
|
||||
hash = AddToHash(hash, mRoundedClipRects[i].Hash());
|
||||
}
|
||||
|
||||
return hash;
|
||||
|
Loading…
Reference in New Issue
Block a user