зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1346680 - Duplicate refcount on VRLayerParent/Child when the construction; r=kip
MozReview-Commit-ID: BpEmUkgmPA3 --HG-- extra : rebase_source : 2f235d5dbbb8204de3c9baaee27b3fccccc7896d
This commit is contained in:
Родитель
47bca0c9c7
Коммит
14584d2aa7
|
@ -21,7 +21,6 @@ VRLayerChild::VRLayerChild(uint32_t aVRDisplayID, VRManagerChild* aVRManagerChil
|
|||
, mShSurfClient(nullptr)
|
||||
, mFront(nullptr)
|
||||
{
|
||||
MOZ_COUNT_CTOR(VRLayerChild);
|
||||
}
|
||||
|
||||
VRLayerChild::~VRLayerChild()
|
||||
|
|
|
@ -29,7 +29,7 @@ class SurfaceFactory;
|
|||
namespace gfx {
|
||||
|
||||
class VRLayerChild : public PVRLayerChild {
|
||||
NS_INLINE_DECL_REFCOUNTING(VRLayerChild)
|
||||
NS_INLINE_DECL_THREADSAFE_REFCOUNTING(VRLayerChild)
|
||||
|
||||
public:
|
||||
VRLayerChild(uint32_t aVRDisplayID, VRManagerChild* aVRManagerChild);
|
||||
|
|
|
@ -16,7 +16,6 @@ VRLayerParent::VRLayerParent(uint32_t aVRDisplayID, const Rect& aLeftEyeRect, co
|
|||
, mLeftEyeRect(aLeftEyeRect)
|
||||
, mRightEyeRect(aRightEyeRect)
|
||||
{
|
||||
MOZ_COUNT_CTOR(VRLayerParent);
|
||||
}
|
||||
|
||||
VRLayerParent::~VRLayerParent()
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace mozilla {
|
|||
namespace gfx {
|
||||
|
||||
class VRLayerParent : public PVRLayerParent {
|
||||
NS_INLINE_DECL_REFCOUNTING(VRLayerParent)
|
||||
NS_INLINE_DECL_THREADSAFE_REFCOUNTING(VRLayerParent)
|
||||
|
||||
public:
|
||||
VRLayerParent(uint32_t aVRDisplayID, const Rect& aLeftEyeRect, const Rect& aRightEyeRect);
|
||||
|
|
Загрузка…
Ссылка в новой задаче