зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1340771 part 4 - Mark AutoWeakFrame as MOZ_NONHEAP_CLASS and WeakFrame as MOZ_HEAP_CLASS. r=tn
MozReview-Commit-ID: 8yGBKyx3TDW
This commit is contained in:
Родитель
6ef6efaea3
Коммит
742155bd91
|
@ -3829,7 +3829,7 @@ public:
|
|||
* @note The usage of this class should be kept to a minimum.
|
||||
*/
|
||||
class WeakFrame;
|
||||
class AutoWeakFrame
|
||||
class MOZ_NONHEAP_CLASS AutoWeakFrame
|
||||
{
|
||||
public:
|
||||
explicit AutoWeakFrame()
|
||||
|
@ -3905,7 +3905,7 @@ private:
|
|||
/**
|
||||
* @see AutoWeakFrame
|
||||
*/
|
||||
class WeakFrame
|
||||
class MOZ_HEAP_CLASS WeakFrame
|
||||
{
|
||||
public:
|
||||
WeakFrame() : mFrame(nullptr) {}
|
||||
|
|
Загрузка…
Ссылка в новой задаче