Bug 1208951 - Part 6: Add method to compare nsCSSPropertySets for equality. r=birtles

This commit is contained in:
Cameron McCormack 2015-10-22 19:22:38 +11:00
parent f38ffc93c2
commit 0bc3952ee4

View File

@ -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: