author | Mason Chang <mchang@mozilla.com> |
Tue, 08 Aug 2017 15:11:11 -0700 | |
changeset 373558 | 46c587c3e5de4f816c33f87c43f4cda92038805a |
parent 373557 | 2691dd1e7db452ee037d3256a6eb7439714ffbf4 |
child 373559 | 7a8936f1a4f42133145336d19d768f01c54ea477 |
push id | 32304 |
push user | cbook@mozilla.com |
push date | Wed, 09 Aug 2017 09:37:21 +0000 |
treeherder | mozilla-central@4c5fbf493763 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | bas |
bugs | 1386080 |
milestone | 57.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
gfx/2d/2D.h | file | annotate | diff | comparison | revisions |
--- a/gfx/2d/2D.h +++ b/gfx/2d/2D.h @@ -880,17 +880,17 @@ protected: class DrawTargetCapture; /** This is the main class used for all the drawing. It is created through the * factory and accepts drawing commands. The results of drawing to a target * may be used either through a Snapshot or by flushing the target and directly * accessing the backing store a DrawTarget was created with. */ -class DrawTarget : public RefCounted<DrawTarget> +class DrawTarget : public external::AtomicRefCounted<DrawTarget> { public: MOZ_DECLARE_REFCOUNTED_VIRTUAL_TYPENAME(DrawTarget) DrawTarget() : mTransformDirty(false), mPermitSubpixelAA(false) {} virtual ~DrawTarget() {} virtual bool IsValid() const { return true; }; virtual DrawTargetType GetType() const = 0;