Bug 1386080 - Make DrawTarget thread safe refcountable. r=bas

This commit is contained in:
Mason Chang 2017-08-08 15:11:11 -07:00
Родитель 5a8d9770c6
Коммит fa082bb902
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -885,7 +885,7 @@ class DrawTargetCapture;
* 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)