mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1208951 - Part 6: Add method to compare nsCSSPropertySets for equality. r=birtles
This commit is contained in:
parent
f38ffc93c2
commit
0bc3952ee4
@ -8,6 +8,7 @@
|
||||
#define nsCSSPropertySet_h__
|
||||
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "mozilla/PodOperations.h"
|
||||
|
||||
#include "nsCSSProperty.h"
|
||||
#include <limits.h> // for CHAR_BIT
|
||||
@ -62,6 +63,10 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
bool Equals(const nsCSSPropertySet& aOther) const {
|
||||
return mozilla::PodEqual(mProperties, aOther.mProperties);
|
||||
}
|
||||
|
||||
private:
|
||||
typedef unsigned long property_set_type;
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user