Bug 1413857: Make FilterNode refcounting threadsafe. r=rhunt

MozReview-Commit-ID: Kgnq97NJeTv
This commit is contained in:
Bas Schouten 2017-11-08 20:49:40 +01:00
parent fc5e6c2cf2
commit 911420ff1c

View File

@ -475,7 +475,7 @@ enum UnpremultiplyInputs
IN_UNPREMULTIPLY_IN = 0 IN_UNPREMULTIPLY_IN = 0
}; };
class FilterNode : public RefCounted<FilterNode> class FilterNode : public external::AtomicRefCounted<FilterNode>
{ {
public: public:
MOZ_DECLARE_REFCOUNTED_VIRTUAL_TYPENAME(FilterNode) MOZ_DECLARE_REFCOUNTED_VIRTUAL_TYPENAME(FilterNode)