diff --git a/gfx/2d/2D.h b/gfx/2d/2D.h index 34b5dc7f6fc1..198f8bdb56ac 100644 --- a/gfx/2d/2D.h +++ b/gfx/2d/2D.h @@ -617,7 +617,7 @@ class FlattenedPath; /** The path class is used to create (sets of) figures of any shape that can be * filled or stroked to a DrawTarget */ -class Path : public RefCounted +class Path : public external::AtomicRefCounted { public: MOZ_DECLARE_REFCOUNTED_VIRTUAL_TYPENAME(Path)