зеркало из https://github.com/mozilla/gecko-dev.git
Backed out 2 changesets (bug 1613985) for Build bustage on Windows2012. CLOSED TREE
Backed out changeset fd177b40b561 (bug 1613985) Backed out changeset fb6d62b7f28d (bug 1613985)
This commit is contained in:
Родитель
5b006d907b
Коммит
d5f9df8ee1
|
@ -15,7 +15,7 @@ namespace a11y {
|
|||
*/
|
||||
class AccGroupInfo {
|
||||
public:
|
||||
MOZ_COUNTED_DTOR(AccGroupInfo)
|
||||
~AccGroupInfo() { MOZ_COUNT_DTOR(AccGroupInfo); }
|
||||
|
||||
/**
|
||||
* Return 1-based position in the group.
|
||||
|
|
|
@ -1828,7 +1828,7 @@ class InsertIterator final {
|
|||
MOZ_ASSERT(aNodes, "No nodes to search for accessible elements");
|
||||
MOZ_COUNT_CTOR(InsertIterator);
|
||||
}
|
||||
MOZ_COUNTED_DTOR(InsertIterator)
|
||||
~InsertIterator() { MOZ_COUNT_DTOR(InsertIterator); }
|
||||
|
||||
Accessible* Context() const { return mWalker.Context(); }
|
||||
Accessible* Child() const { return mChild; }
|
||||
|
|
|
@ -29,7 +29,7 @@ class ProxyAccessible : public ProxyAccessibleBase<ProxyAccessible> {
|
|||
MOZ_COUNT_CTOR(ProxyAccessible);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(ProxyAccessible)
|
||||
~ProxyAccessible() { MOZ_COUNT_DTOR(ProxyAccessible); }
|
||||
|
||||
#include "mozilla/a11y/ProxyAccessibleShared.h"
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ class ProxyAccessible : public ProxyAccessibleBase<ProxyAccessible> {
|
|||
MOZ_COUNT_CTOR(ProxyAccessible);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(ProxyAccessible)
|
||||
~ProxyAccessible() { MOZ_COUNT_DTOR(ProxyAccessible); }
|
||||
|
||||
#include "mozilla/a11y/ProxyAccessibleShared.h"
|
||||
|
||||
|
|
|
@ -303,7 +303,7 @@ class MOZ_NEEDS_MEMMOVABLE_MEMBERS StyleChildrenIterator
|
|||
return *this;
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(StyleChildrenIterator)
|
||||
~StyleChildrenIterator() { MOZ_COUNT_DTOR(StyleChildrenIterator); }
|
||||
|
||||
using AllChildrenIterator::GetNextChild;
|
||||
using AllChildrenIterator::GetPreviousChild;
|
||||
|
|
|
@ -508,7 +508,9 @@ class nsTextNodeDirectionalityMap {
|
|||
aTextNode->SetHasTextNodeDirectionalityMap();
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(nsTextNodeDirectionalityMap)
|
||||
~nsTextNodeDirectionalityMap() {
|
||||
MOZ_COUNT_DTOR(nsTextNodeDirectionalityMap);
|
||||
}
|
||||
|
||||
static void nsTextNodeDirectionalityMapPropertyDestructor(
|
||||
void* aObject, nsAtom* aProperty, void* aPropertyValue, void* aData) {
|
||||
|
|
|
@ -12804,8 +12804,8 @@ class FullscreenRoots {
|
|||
static bool IsEmpty();
|
||||
|
||||
private:
|
||||
MOZ_COUNTED_DEFAULT_CTOR(FullscreenRoots)
|
||||
MOZ_COUNTED_DTOR(FullscreenRoots)
|
||||
FullscreenRoots() { MOZ_COUNT_CTOR(FullscreenRoots); }
|
||||
~FullscreenRoots() { MOZ_COUNT_DTOR(FullscreenRoots); }
|
||||
|
||||
enum { NotFound = uint32_t(-1) };
|
||||
// Looks in mRoots for aRoot. Returns the index if found, otherwise NotFound.
|
||||
|
|
|
@ -1599,7 +1599,7 @@ class Document : public nsINode,
|
|||
|
||||
nsExpirationState* GetExpirationState() { return &mState; }
|
||||
|
||||
MOZ_COUNTED_DTOR(SelectorCacheKey)
|
||||
~SelectorCacheKey() { MOZ_COUNT_DTOR(SelectorCacheKey); }
|
||||
};
|
||||
|
||||
class SelectorCacheKeyDeleter;
|
||||
|
|
|
@ -89,7 +89,7 @@ class FullscreenRequest : public FullscreenChange {
|
|||
dom::CallerType::NonSystem, false));
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(FullscreenRequest)
|
||||
~FullscreenRequest() { MOZ_COUNT_DTOR(FullscreenRequest); }
|
||||
|
||||
dom::Element* Element() const { return mElement; }
|
||||
|
||||
|
@ -149,7 +149,7 @@ class FullscreenExit : public FullscreenChange {
|
|||
return WrapUnique(new FullscreenExit(aDoc, nullptr));
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(FullscreenExit)
|
||||
~FullscreenExit() { MOZ_COUNT_DTOR(FullscreenExit); }
|
||||
|
||||
private:
|
||||
FullscreenExit(dom::Document* aDoc, already_AddRefed<Promise> aPromise)
|
||||
|
|
|
@ -8286,7 +8286,7 @@ class StringBuilder {
|
|||
public:
|
||||
StringBuilder() : mLast(this), mLength(0) { MOZ_COUNT_CTOR(StringBuilder); }
|
||||
|
||||
MOZ_COUNTED_DTOR(StringBuilder)
|
||||
~StringBuilder() { MOZ_COUNT_DTOR(StringBuilder); }
|
||||
|
||||
void Append(nsAtom* aAtom) {
|
||||
Unit* u = AddUnit();
|
||||
|
|
|
@ -402,7 +402,9 @@ struct nsMessageManagerScriptHolder {
|
|||
MOZ_COUNT_CTOR(nsMessageManagerScriptHolder);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(nsMessageManagerScriptHolder)
|
||||
~nsMessageManagerScriptHolder() {
|
||||
MOZ_COUNT_DTOR(nsMessageManagerScriptHolder);
|
||||
}
|
||||
|
||||
JS::PersistentRooted<JSScript*> mScript;
|
||||
};
|
||||
|
@ -419,7 +421,9 @@ class nsMessageManagerScriptExecutor {
|
|||
nsMessageManagerScriptExecutor() {
|
||||
MOZ_COUNT_CTOR(nsMessageManagerScriptExecutor);
|
||||
}
|
||||
MOZ_COUNTED_DTOR(nsMessageManagerScriptExecutor)
|
||||
~nsMessageManagerScriptExecutor() {
|
||||
MOZ_COUNT_DTOR(nsMessageManagerScriptExecutor);
|
||||
}
|
||||
|
||||
void DidCreateScriptLoader();
|
||||
void LoadScriptInternal(JS::Handle<JSObject*> aMessageManager,
|
||||
|
|
|
@ -20,9 +20,9 @@ namespace dom {
|
|||
// the leak log too.
|
||||
class NonRefcountedDOMObject {
|
||||
protected:
|
||||
MOZ_COUNTED_DEFAULT_CTOR(NonRefcountedDOMObject)
|
||||
NonRefcountedDOMObject() { MOZ_COUNT_CTOR(NonRefcountedDOMObject); }
|
||||
|
||||
MOZ_COUNTED_DTOR(NonRefcountedDOMObject)
|
||||
~NonRefcountedDOMObject() { MOZ_COUNT_DTOR(NonRefcountedDOMObject); }
|
||||
|
||||
NonRefcountedDOMObject(const NonRefcountedDOMObject& aOther)
|
||||
: NonRefcountedDOMObject() {}
|
||||
|
|
|
@ -37,7 +37,7 @@ class TextMetrics final : public NonRefcountedDOMObject {
|
|||
MOZ_COUNT_CTOR(TextMetrics);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(TextMetrics)
|
||||
~TextMetrics() { MOZ_COUNT_DTOR(TextMetrics); }
|
||||
|
||||
double Width() const { return width; }
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ class TextDecoder final : public NonRefcountedDOMObject {
|
|||
MOZ_COUNT_CTOR(TextDecoder);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(TextDecoder)
|
||||
~TextDecoder() { MOZ_COUNT_DTOR(TextDecoder); }
|
||||
|
||||
bool WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto,
|
||||
JS::MutableHandle<JSObject*> aReflector) {
|
||||
|
|
|
@ -135,7 +135,7 @@ class EventTargetChainItem {
|
|||
MOZ_COUNT_CTOR(EventTargetChainItem);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(EventTargetChainItem)
|
||||
~EventTargetChainItem() { MOZ_COUNT_DTOR(EventTargetChainItem); }
|
||||
|
||||
static EventTargetChainItem* Create(nsTArray<EventTargetChainItem>& aChain,
|
||||
EventTarget* aTarget,
|
||||
|
|
|
@ -28,7 +28,7 @@ class PointerCaptureInfo final {
|
|||
MOZ_COUNT_CTOR(PointerCaptureInfo);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(PointerCaptureInfo)
|
||||
~PointerCaptureInfo() { MOZ_COUNT_DTOR(PointerCaptureInfo); }
|
||||
|
||||
bool Empty() { return !(mPendingContent || mOverrideContent); }
|
||||
};
|
||||
|
|
|
@ -45,7 +45,7 @@ class HTMLFormSubmission {
|
|||
NotNull<const Encoding*>& aEncoding,
|
||||
HTMLFormSubmission** aFormSubmission);
|
||||
|
||||
MOZ_COUNTED_DTOR_VIRTUAL(HTMLFormSubmission)
|
||||
virtual ~HTMLFormSubmission() { MOZ_COUNT_DTOR(HTMLFormSubmission); }
|
||||
|
||||
/**
|
||||
* Submit a name/value pair
|
||||
|
|
|
@ -532,7 +532,7 @@ struct IndexDataValue final {
|
|||
MOZ_COUNT_CTOR(IndexDataValue);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(IndexDataValue)
|
||||
~IndexDataValue() { MOZ_COUNT_DTOR(IndexDataValue); }
|
||||
|
||||
bool operator==(const IndexDataValue& aOther) const {
|
||||
if (mIndexId != aOther.mIndexId) {
|
||||
|
|
|
@ -114,7 +114,7 @@ struct IDBObjectStore::StructuredCloneWriteInfo {
|
|||
aCloneWriteInfo.mOffsetToKeyProp = 0;
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(StructuredCloneWriteInfo)
|
||||
~StructuredCloneWriteInfo() { MOZ_COUNT_DTOR(StructuredCloneWriteInfo); }
|
||||
};
|
||||
|
||||
// Used by ValueWrapper::Clone to hold strong references to any blob-like
|
||||
|
@ -135,9 +135,9 @@ struct MOZ_STACK_CLASS MutableFileData final {
|
|||
nsString type;
|
||||
nsString name;
|
||||
|
||||
MOZ_COUNTED_DEFAULT_CTOR(MutableFileData)
|
||||
MutableFileData() { MOZ_COUNT_CTOR(MutableFileData); }
|
||||
|
||||
MOZ_COUNTED_DTOR(MutableFileData)
|
||||
~MutableFileData() { MOZ_COUNT_DTOR(MutableFileData); }
|
||||
};
|
||||
|
||||
struct MOZ_STACK_CLASS BlobOrFileData final {
|
||||
|
@ -151,7 +151,7 @@ struct MOZ_STACK_CLASS BlobOrFileData final {
|
|||
MOZ_COUNT_CTOR(BlobOrFileData);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(BlobOrFileData)
|
||||
~BlobOrFileData() { MOZ_COUNT_DTOR(BlobOrFileData); }
|
||||
};
|
||||
|
||||
struct MOZ_STACK_CLASS WasmModuleData final {
|
||||
|
@ -164,7 +164,7 @@ struct MOZ_STACK_CLASS WasmModuleData final {
|
|||
MOZ_COUNT_CTOR(WasmModuleData);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(WasmModuleData)
|
||||
~WasmModuleData() { MOZ_COUNT_DTOR(WasmModuleData); }
|
||||
};
|
||||
|
||||
struct MOZ_STACK_CLASS GetAddInfoClosure final {
|
||||
|
@ -177,7 +177,7 @@ struct MOZ_STACK_CLASS GetAddInfoClosure final {
|
|||
MOZ_COUNT_CTOR(GetAddInfoClosure);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(GetAddInfoClosure)
|
||||
~GetAddInfoClosure() { MOZ_COUNT_DTOR(GetAddInfoClosure); }
|
||||
};
|
||||
|
||||
RefPtr<IDBRequest> GenerateRequest(JSContext* aCx,
|
||||
|
|
|
@ -88,7 +88,7 @@ class IDBObjectStore final : public nsISupports, public nsWrapperCache {
|
|||
MOZ_COUNT_CTOR(IDBObjectStore::ValueWrapper);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR_NESTED(ValueWrapper, IDBObjectStore::ValueWrapper)
|
||||
~ValueWrapper() { MOZ_COUNT_DTOR(IDBObjectStore::ValueWrapper); }
|
||||
|
||||
const JS::Rooted<JS::Value>& Value() const { return mValue; }
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ class KeyPath {
|
|||
*this = aOther;
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(KeyPath)
|
||||
~KeyPath() { MOZ_COUNT_DTOR(KeyPath); }
|
||||
|
||||
static nsresult Parse(const nsAString& aString, KeyPath* aKeyPath);
|
||||
|
||||
|
|
|
@ -356,7 +356,7 @@ namespace dom {
|
|||
// IPC receiver for remote GC/CC logging.
|
||||
class CycleCollectWithLogsParent final : public PCycleCollectWithLogsParent {
|
||||
public:
|
||||
MOZ_COUNTED_DTOR(CycleCollectWithLogsParent)
|
||||
~CycleCollectWithLogsParent() { MOZ_COUNT_DTOR(CycleCollectWithLogsParent); }
|
||||
|
||||
static bool AllocAndSendConstructor(ContentParent* aManager,
|
||||
bool aDumpAllTraces,
|
||||
|
|
|
@ -20,7 +20,7 @@ class ContentParent;
|
|||
class ContentProcessManager final {
|
||||
public:
|
||||
static ContentProcessManager* GetSingleton();
|
||||
MOZ_COUNTED_DTOR(ContentProcessManager);
|
||||
~ContentProcessManager() { MOZ_COUNT_DTOR(ContentProcessManager); };
|
||||
|
||||
/**
|
||||
* Add a new content process into the map.
|
||||
|
@ -83,7 +83,7 @@ class ContentProcessManager final {
|
|||
nsDataHashtable<nsUint64HashKey, ContentParent*> mContentParentMap;
|
||||
nsDataHashtable<nsUint64HashKey, BrowserParent*> mBrowserParentMap;
|
||||
|
||||
MOZ_COUNTED_DEFAULT_CTOR(ContentProcessManager);
|
||||
ContentProcessManager() { MOZ_COUNT_CTOR(ContentProcessManager); };
|
||||
};
|
||||
|
||||
} // namespace dom
|
||||
|
|
|
@ -453,7 +453,7 @@ class MediaFormatReader::DemuxerProxy {
|
|||
MOZ_COUNT_CTOR(DemuxerProxy);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(DemuxerProxy)
|
||||
~DemuxerProxy() { MOZ_COUNT_DTOR(DemuxerProxy); }
|
||||
|
||||
RefPtr<ShutdownPromise> Shutdown() {
|
||||
RefPtr<Data> data = std::move(mData);
|
||||
|
|
|
@ -102,7 +102,7 @@ class TrackInfo {
|
|||
|
||||
virtual UniquePtr<TrackInfo> Clone() const = 0;
|
||||
|
||||
MOZ_COUNTED_DTOR_VIRTUAL(TrackInfo)
|
||||
virtual ~TrackInfo() { MOZ_COUNT_DTOR(TrackInfo); }
|
||||
|
||||
protected:
|
||||
TrackInfo(const TrackInfo& aOther) {
|
||||
|
|
|
@ -99,7 +99,7 @@ class MediaSegment {
|
|||
MediaSegment(const MediaSegment&) = delete;
|
||||
MediaSegment& operator=(const MediaSegment&) = delete;
|
||||
|
||||
MOZ_COUNTED_DTOR_VIRTUAL(MediaSegment)
|
||||
virtual ~MediaSegment() { MOZ_COUNT_DTOR(MediaSegment); }
|
||||
|
||||
enum Type { AUDIO, VIDEO, TYPE_COUNT };
|
||||
|
||||
|
|
|
@ -788,7 +788,7 @@ class MediaInputPort final {
|
|||
}
|
||||
|
||||
// Private destructor, to discourage deletion outside of Release():
|
||||
MOZ_COUNTED_DTOR(MediaInputPort)
|
||||
~MediaInputPort() { MOZ_COUNT_DTOR(MediaInputPort); }
|
||||
|
||||
public:
|
||||
NS_INLINE_DECL_THREADSAFE_REFCOUNTING(MediaInputPort)
|
||||
|
@ -1134,7 +1134,7 @@ class MediaTrackGraph {
|
|||
explicit MediaTrackGraph(TrackRate aSampleRate) : mSampleRate(aSampleRate) {
|
||||
MOZ_COUNT_CTOR(MediaTrackGraph);
|
||||
}
|
||||
MOZ_COUNTED_DTOR_VIRTUAL(MediaTrackGraph)
|
||||
virtual ~MediaTrackGraph() { MOZ_COUNT_DTOR(MediaTrackGraph); }
|
||||
|
||||
// Intended only for assertions, either on graph thread or not running (in
|
||||
// which case we must be on the main thread).
|
||||
|
|
|
@ -55,7 +55,7 @@ class ControlMessage {
|
|||
MOZ_COUNT_CTOR(ControlMessage);
|
||||
}
|
||||
// All these run on the graph thread
|
||||
MOZ_COUNTED_DTOR_VIRTUAL(ControlMessage)
|
||||
virtual ~ControlMessage() { MOZ_COUNT_DTOR(ControlMessage); }
|
||||
// Do the action of this message on the MediaTrackGraph thread. Any actions
|
||||
// affecting graph processing should take effect at mProcessedTime.
|
||||
// All track data for times < mProcessedTime has already been
|
||||
|
|
|
@ -214,7 +214,7 @@ class VideoFrameConverter {
|
|||
}
|
||||
};
|
||||
|
||||
MOZ_COUNTED_DTOR_VIRTUAL(VideoFrameConverter)
|
||||
virtual ~VideoFrameConverter() { MOZ_COUNT_DTOR(VideoFrameConverter); }
|
||||
|
||||
static void SameFrameTick(nsITimer* aTimer, void* aClosure) {
|
||||
MOZ_ASSERT(aClosure);
|
||||
|
|
|
@ -37,7 +37,7 @@ class GMPTimerParent : public PGMPTimerParent {
|
|||
|
||||
struct Context {
|
||||
Context() : mId(0) { MOZ_COUNT_CTOR(Context); }
|
||||
MOZ_COUNTED_DTOR(Context)
|
||||
~Context() { MOZ_COUNT_DTOR(Context); }
|
||||
nsCOMPtr<nsITimer> mTimer;
|
||||
RefPtr<GMPTimerParent>
|
||||
mParent; // Note: live timers keep the GMPTimerParent alive.
|
||||
|
|
|
@ -41,8 +41,8 @@ typedef GMPVideoGetterCallback<GMPVideoEncoderProxy> GetGMPVideoEncoderCallback;
|
|||
class GetNodeIdCallback
|
||||
{
|
||||
public:
|
||||
MOZ_COUNTED_DEFAULT_CTOR(GetNodeIdCallback)
|
||||
MOZ_COUNTED_DTOR_VIRTUAL(GetNodeIdCallback)
|
||||
GetNodeIdCallback() { MOZ_COUNT_CTOR(GetNodeIdCallback); }
|
||||
virtual ~GetNodeIdCallback() { MOZ_COUNT_DTOR(GetNodeIdCallback); }
|
||||
virtual void Done(nsresult aResult, const nsACString& aNodeId) = 0;
|
||||
};
|
||||
%}
|
||||
|
|
|
@ -546,7 +546,7 @@ class SkeletonState : public OggCodecState {
|
|||
MOZ_COUNT_CTOR(nsKeyFrameIndex);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(nsKeyFrameIndex)
|
||||
~nsKeyFrameIndex() { MOZ_COUNT_DTOR(nsKeyFrameIndex); }
|
||||
|
||||
void Add(int64_t aOffset, int64_t aTimeMs) {
|
||||
mKeyPoints.AppendElement(nsKeyPoint(aOffset, aTimeMs));
|
||||
|
|
|
@ -295,7 +295,7 @@ class WebMBufferedState final {
|
|||
|
||||
private:
|
||||
// Private destructor, to discourage deletion outside of Release():
|
||||
MOZ_COUNTED_DTOR(WebMBufferedState)
|
||||
~WebMBufferedState() { MOZ_COUNT_DTOR(WebMBufferedState); }
|
||||
|
||||
// Synchronizes access to the mTimeMapping array and mLastBlockOffset.
|
||||
ReentrantMonitor mReentrantMonitor;
|
||||
|
|
|
@ -364,7 +364,7 @@ class AudioSourcePullListener : public MediaTrackListener {
|
|||
MOZ_COUNT_CTOR(AudioSourcePullListener);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(AudioSourcePullListener)
|
||||
~AudioSourcePullListener() { MOZ_COUNT_DTOR(AudioSourcePullListener); }
|
||||
|
||||
void NotifyPull(MediaTrackGraph* aGraph, TrackTime aEndOfAppendedData,
|
||||
TrackTime aDesiredTime) override;
|
||||
|
|
|
@ -61,7 +61,7 @@ class MessagePortService::MessagePortServiceData final {
|
|||
MessagePortServiceData(const MessagePortServiceData& aOther) = delete;
|
||||
MessagePortServiceData& operator=(const MessagePortServiceData&) = delete;
|
||||
|
||||
MOZ_COUNTED_DTOR(MessagePortServiceData)
|
||||
~MessagePortServiceData() { MOZ_COUNT_DTOR(MessagePortServiceData); }
|
||||
|
||||
nsID mDestinationUUID;
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ class nsPluginNativeWindow : public NPWindow {
|
|||
public:
|
||||
nsPluginNativeWindow() : NPWindow() { MOZ_COUNT_CTOR(nsPluginNativeWindow); }
|
||||
|
||||
MOZ_COUNTED_DTOR_VIRTUAL(nsPluginNativeWindow)
|
||||
virtual ~nsPluginNativeWindow() { MOZ_COUNT_DTOR(nsPluginNativeWindow); }
|
||||
|
||||
/**
|
||||
* !!! CAUTION !!!
|
||||
|
|
|
@ -25,7 +25,7 @@ struct ChildNPObject : NPObject {
|
|||
MOZ_COUNT_CTOR(ChildNPObject);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(ChildNPObject)
|
||||
~ChildNPObject() { MOZ_COUNT_DTOR(ChildNPObject); }
|
||||
|
||||
// |parent| is always valid as long as the actor is alive. Once the actor is
|
||||
// destroyed this will be set to null.
|
||||
|
@ -143,7 +143,7 @@ class PluginScriptableObjectChild : public PPluginScriptableObjectChild {
|
|||
MOZ_COUNT_CTOR(StoredIdentifier);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(StoredIdentifier)
|
||||
~StoredIdentifier() { MOZ_COUNT_DTOR(StoredIdentifier); }
|
||||
};
|
||||
|
||||
public:
|
||||
|
|
|
@ -48,7 +48,7 @@ class PresentationServiceBase {
|
|||
public:
|
||||
explicit SessionIdManager() { MOZ_COUNT_CTOR(SessionIdManager); }
|
||||
|
||||
MOZ_COUNTED_DTOR(SessionIdManager)
|
||||
~SessionIdManager() { MOZ_COUNT_DTOR(SessionIdManager); }
|
||||
|
||||
nsresult GetWindowId(const nsAString& aSessionId, uint64_t* aWindowId) {
|
||||
MOZ_ASSERT(NS_IsMainThread());
|
||||
|
@ -126,7 +126,7 @@ class PresentationServiceBase {
|
|||
public:
|
||||
explicit AvailabilityManager() { MOZ_COUNT_CTOR(AvailabilityManager); }
|
||||
|
||||
MOZ_COUNTED_DTOR(AvailabilityManager)
|
||||
~AvailabilityManager() { MOZ_COUNT_DTOR(AvailabilityManager); }
|
||||
|
||||
void AddAvailabilityListener(
|
||||
const nsTArray<nsString>& aAvailabilityUrls,
|
||||
|
|
|
@ -995,7 +995,7 @@ class GroupInfo final {
|
|||
|
||||
private:
|
||||
// Private destructor, to discourage deletion outside of Release():
|
||||
MOZ_COUNTED_DTOR(GroupInfo)
|
||||
~GroupInfo() { MOZ_COUNT_DTOR(GroupInfo); }
|
||||
|
||||
already_AddRefed<OriginInfo> LockedGetOriginInfo(const nsACString& aOrigin);
|
||||
|
||||
|
@ -1024,9 +1024,9 @@ class GroupInfoPair {
|
|||
friend class QuotaObject;
|
||||
|
||||
public:
|
||||
MOZ_COUNTED_DEFAULT_CTOR(GroupInfoPair)
|
||||
GroupInfoPair() { MOZ_COUNT_CTOR(GroupInfoPair); }
|
||||
|
||||
MOZ_COUNTED_DTOR(GroupInfoPair)
|
||||
~GroupInfoPair() { MOZ_COUNT_DTOR(GroupInfoPair); }
|
||||
|
||||
private:
|
||||
already_AddRefed<GroupInfo> LockedGetGroupInfo(
|
||||
|
|
|
@ -52,7 +52,7 @@ class QuotaObject {
|
|||
MOZ_COUNT_CTOR(QuotaObject);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(QuotaObject)
|
||||
~QuotaObject() { MOZ_COUNT_DTOR(QuotaObject); }
|
||||
|
||||
already_AddRefed<QuotaObject> LockedAddRef() {
|
||||
AssertCurrentThreadOwnsQuotaMutex();
|
||||
|
|
|
@ -42,7 +42,7 @@ class WorkerLocation final : public nsWrapperCache {
|
|||
MOZ_COUNT_CTOR(WorkerLocation);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(WorkerLocation)
|
||||
~WorkerLocation() { MOZ_COUNT_DTOR(WorkerLocation); }
|
||||
|
||||
public:
|
||||
NS_INLINE_DECL_CYCLE_COLLECTING_NATIVE_REFCOUNTING(WorkerLocation)
|
||||
|
|
|
@ -13,12 +13,12 @@
|
|||
|
||||
class txObject {
|
||||
public:
|
||||
MOZ_COUNTED_DEFAULT_CTOR(txObject)
|
||||
txObject() { MOZ_COUNT_CTOR(txObject); }
|
||||
|
||||
/**
|
||||
* Deletes this txObject
|
||||
*/
|
||||
MOZ_COUNTED_DTOR_VIRTUAL(txObject)
|
||||
virtual ~txObject() { MOZ_COUNT_DTOR(txObject); }
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
@ -35,8 +35,8 @@ class txXPathTreeWalker;
|
|||
**/
|
||||
class Expr {
|
||||
public:
|
||||
MOZ_COUNTED_DEFAULT_CTOR(Expr)
|
||||
MOZ_COUNTED_DTOR_VIRTUAL(Expr)
|
||||
Expr() { MOZ_COUNT_CTOR(Expr); }
|
||||
virtual ~Expr() { MOZ_COUNT_DTOR(Expr); }
|
||||
|
||||
/**
|
||||
* Evaluates this Expr based on the given context node and processor state
|
||||
|
@ -330,8 +330,8 @@ class txCoreFunctionCall : public FunctionCall {
|
|||
*/
|
||||
class txNodeTest {
|
||||
public:
|
||||
MOZ_COUNTED_DEFAULT_CTOR(txNodeTest)
|
||||
MOZ_COUNTED_DTOR_VIRTUAL(txNodeTest)
|
||||
txNodeTest() { MOZ_COUNT_CTOR(txNodeTest); }
|
||||
virtual ~txNodeTest() { MOZ_COUNT_DTOR(txNodeTest); }
|
||||
|
||||
/*
|
||||
* Virtual methods
|
||||
|
|
|
@ -23,7 +23,7 @@ class txOutputTransaction {
|
|||
explicit txOutputTransaction(txTransactionType aType) : mType(aType) {
|
||||
MOZ_COUNT_CTOR(txOutputTransaction);
|
||||
}
|
||||
MOZ_COUNTED_DTOR_VIRTUAL(txOutputTransaction)
|
||||
virtual ~txOutputTransaction() { MOZ_COUNT_DTOR(txOutputTransaction); }
|
||||
txTransactionType mType;
|
||||
};
|
||||
|
||||
|
|
|
@ -21,9 +21,9 @@ class txExecutionState;
|
|||
|
||||
class txInstruction : public txObject {
|
||||
public:
|
||||
MOZ_COUNTED_DEFAULT_CTOR(txInstruction)
|
||||
txInstruction() { MOZ_COUNT_CTOR(txInstruction); }
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(txInstruction)
|
||||
virtual ~txInstruction() { MOZ_COUNT_DTOR(txInstruction); }
|
||||
|
||||
virtual nsresult execute(txExecutionState& aEs) = 0;
|
||||
|
||||
|
|
|
@ -175,8 +175,8 @@ class txStripSpaceTest {
|
|||
*/
|
||||
class txIGlobalParameter {
|
||||
public:
|
||||
MOZ_COUNTED_DEFAULT_CTOR(txIGlobalParameter)
|
||||
MOZ_COUNTED_DTOR_VIRTUAL(txIGlobalParameter)
|
||||
txIGlobalParameter() { MOZ_COUNT_CTOR(txIGlobalParameter); }
|
||||
virtual ~txIGlobalParameter() { MOZ_COUNT_DTOR(txIGlobalParameter); }
|
||||
virtual nsresult getValue(txAExprResult** aValue) = 0;
|
||||
};
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@ class Expr;
|
|||
|
||||
class txToplevelItem {
|
||||
public:
|
||||
MOZ_COUNTED_DEFAULT_CTOR(txToplevelItem)
|
||||
MOZ_COUNTED_DTOR_VIRTUAL(txToplevelItem)
|
||||
txToplevelItem() { MOZ_COUNT_CTOR(txToplevelItem); }
|
||||
virtual ~txToplevelItem() { MOZ_COUNT_DTOR(txToplevelItem); }
|
||||
|
||||
enum type {
|
||||
attributeSet,
|
||||
|
|
|
@ -37,7 +37,7 @@ class txVariableMapBase {
|
|||
class txVariableMap : public txVariableMapBase {
|
||||
public:
|
||||
txVariableMap() : txVariableMapBase() { MOZ_COUNT_CTOR(txVariableMap); }
|
||||
MOZ_COUNTED_DTOR(txVariableMap)
|
||||
~txVariableMap() { MOZ_COUNT_DTOR(txVariableMap); }
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
|
||||
class txPattern {
|
||||
public:
|
||||
MOZ_COUNTED_DEFAULT_CTOR(txPattern)
|
||||
MOZ_COUNTED_DTOR_VIRTUAL(txPattern)
|
||||
txPattern() { MOZ_COUNT_CTOR(txPattern); }
|
||||
virtual ~txPattern() { MOZ_COUNT_DTOR(txPattern); }
|
||||
|
||||
/*
|
||||
* Determines whether this Pattern matches the given node.
|
||||
|
|
|
@ -41,7 +41,7 @@ struct PropItem {
|
|||
value(aValue) {
|
||||
MOZ_COUNT_CTOR(PropItem);
|
||||
}
|
||||
MOZ_COUNTED_DTOR(PropItem)
|
||||
~PropItem() { MOZ_COUNT_DTOR(PropItem); }
|
||||
};
|
||||
|
||||
class StyleCache final {
|
||||
|
|
|
@ -212,7 +212,7 @@ struct LayerPropertiesBase : public LayerProperties {
|
|||
mUseClipRect(false) {
|
||||
MOZ_COUNT_CTOR(LayerPropertiesBase);
|
||||
}
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(LayerPropertiesBase)
|
||||
virtual ~LayerPropertiesBase() { MOZ_COUNT_DTOR(LayerPropertiesBase); }
|
||||
|
||||
protected:
|
||||
LayerPropertiesBase(const LayerPropertiesBase& a) = delete;
|
||||
|
|
|
@ -44,7 +44,7 @@ class MemoryDIBTextureData : public DIBTextureData {
|
|||
MOZ_COUNT_CTOR(MemoryDIBTextureData);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(MemoryDIBTextureData)
|
||||
virtual ~MemoryDIBTextureData() { MOZ_COUNT_DTOR(MemoryDIBTextureData); }
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
@ -42,7 +42,7 @@ struct ZoomConstraints {
|
|||
MOZ_COUNT_CTOR(ZoomConstraints);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(ZoomConstraints)
|
||||
~ZoomConstraints() { MOZ_COUNT_DTOR(ZoomConstraints); }
|
||||
|
||||
bool operator==(const ZoomConstraints& other) const {
|
||||
return mAllowZoom == other.mAllowZoom &&
|
||||
|
|
|
@ -32,7 +32,7 @@ class BasicColorLayer : public ColorLayer, public BasicImplData {
|
|||
}
|
||||
|
||||
protected:
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(BasicColorLayer)
|
||||
virtual ~BasicColorLayer() { MOZ_COUNT_DTOR(BasicColorLayer); }
|
||||
|
||||
public:
|
||||
void SetVisibleRegion(const LayerIntRegion& aRegion) override {
|
||||
|
|
|
@ -31,7 +31,7 @@ class BasicImageLayer : public ImageLayer, public BasicImplData {
|
|||
}
|
||||
|
||||
protected:
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(BasicImageLayer)
|
||||
virtual ~BasicImageLayer() { MOZ_COUNT_DTOR(BasicImageLayer); }
|
||||
|
||||
public:
|
||||
void SetVisibleRegion(const LayerIntRegion& aRegion) override {
|
||||
|
|
|
@ -49,7 +49,7 @@ class BasicImplData {
|
|||
mOperator(gfx::CompositionOp::OP_OVER) {
|
||||
MOZ_COUNT_CTOR(BasicImplData);
|
||||
}
|
||||
MOZ_COUNTED_DTOR_VIRTUAL(BasicImplData)
|
||||
virtual ~BasicImplData() { MOZ_COUNT_DTOR(BasicImplData); }
|
||||
|
||||
/**
|
||||
* Layers that paint themselves, such as ImageLayers, should paint
|
||||
|
|
|
@ -55,7 +55,7 @@ class BasicReadbackLayer : public ReadbackLayer, public BasicImplData {
|
|||
}
|
||||
|
||||
protected:
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(BasicReadbackLayer)
|
||||
virtual ~BasicReadbackLayer() { MOZ_COUNT_DTOR(BasicReadbackLayer); }
|
||||
|
||||
public:
|
||||
void SetVisibleRegion(const LayerIntRegion& aRegion) override {
|
||||
|
|
|
@ -39,7 +39,7 @@ class BasicPaintedLayer : public PaintedLayer, public BasicImplData {
|
|||
}
|
||||
|
||||
protected:
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(BasicPaintedLayer)
|
||||
virtual ~BasicPaintedLayer() { MOZ_COUNT_DTOR(BasicPaintedLayer); }
|
||||
|
||||
public:
|
||||
void SetVisibleRegion(const LayerIntRegion& aRegion) override {
|
||||
|
|
|
@ -26,7 +26,7 @@ class ClientColorLayer : public ColorLayer, public ClientLayer {
|
|||
}
|
||||
|
||||
protected:
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(ClientColorLayer)
|
||||
virtual ~ClientColorLayer() { MOZ_COUNT_DTOR(ClientColorLayer); }
|
||||
|
||||
public:
|
||||
void SetVisibleRegion(const LayerIntRegion& aRegion) override {
|
||||
|
|
|
@ -137,7 +137,7 @@ class ClientRefLayer : public RefLayer, public ClientLayer {
|
|||
}
|
||||
|
||||
protected:
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(ClientRefLayer)
|
||||
virtual ~ClientRefLayer() { MOZ_COUNT_DTOR(ClientRefLayer); }
|
||||
|
||||
public:
|
||||
Layer* AsLayer() override { return this; }
|
||||
|
|
|
@ -349,7 +349,7 @@ class ClientLayerManager final : public LayerManager,
|
|||
|
||||
class ClientLayer : public ShadowableLayer {
|
||||
public:
|
||||
MOZ_COUNTED_DEFAULT_CTOR(ClientLayer)
|
||||
ClientLayer() { MOZ_COUNT_CTOR(ClientLayer); }
|
||||
|
||||
~ClientLayer();
|
||||
|
||||
|
|
|
@ -254,7 +254,7 @@ class TextureData {
|
|||
|
||||
static bool IsRemote(LayersBackend aLayersBackend, BackendSelector aSelector);
|
||||
|
||||
MOZ_COUNTED_DTOR_VIRTUAL(TextureData)
|
||||
virtual ~TextureData() { MOZ_COUNT_DTOR(TextureData); }
|
||||
|
||||
virtual void FillInfo(TextureData::Info& aInfo) const = 0;
|
||||
|
||||
|
@ -313,7 +313,7 @@ class TextureData {
|
|||
virtual GPUVideoTextureData* AsGPUVideoTextureData() { return nullptr; }
|
||||
|
||||
protected:
|
||||
MOZ_COUNTED_DEFAULT_CTOR(TextureData)
|
||||
TextureData() { MOZ_COUNT_CTOR(TextureData); }
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
@ -50,7 +50,9 @@ struct nsRect : public mozilla::gfx::BaseRect<nscoord, nsRect, nsPoint, nsSize,
|
|||
}
|
||||
nsRect& operator=(const nsRect&) = default;
|
||||
|
||||
MOZ_COUNTED_DTOR(nsRect)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsRect() { MOZ_COUNT_DTOR(nsRect); }
|
||||
#endif
|
||||
|
||||
// We have saturating versions of all the Union methods. These avoid
|
||||
// overflowing nscoord values in the 'width' and 'height' fields by
|
||||
|
|
|
@ -56,7 +56,7 @@ class FontInfoData {
|
|||
|
||||
protected:
|
||||
// Protected destructor, to discourage deletion outside of Release():
|
||||
MOZ_COUNTED_DTOR_VIRTUAL(FontInfoData)
|
||||
virtual ~FontInfoData() { MOZ_COUNT_DTOR(FontInfoData); }
|
||||
|
||||
public:
|
||||
virtual void Load();
|
||||
|
|
|
@ -45,7 +45,7 @@ class CharMapHashKey : public PLDHashEntryHdr {
|
|||
CharMapHashKey(const CharMapHashKey& toCopy) : mCharMap(toCopy.mCharMap) {
|
||||
MOZ_COUNT_CTOR(CharMapHashKey);
|
||||
}
|
||||
MOZ_COUNTED_DTOR(CharMapHashKey)
|
||||
~CharMapHashKey() { MOZ_COUNT_DTOR(CharMapHashKey); }
|
||||
|
||||
gfxCharacterMap* GetKey() const { return mCharMap; }
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ class NewRenderer : public RendererEvent {
|
|||
MOZ_COUNT_CTOR(NewRenderer);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(NewRenderer)
|
||||
~NewRenderer() { MOZ_COUNT_DTOR(NewRenderer); }
|
||||
|
||||
void Run(RenderThread& aRenderThread, WindowId aWindowId) override {
|
||||
layers::AutoCompleteTask complete(mTask);
|
||||
|
@ -158,7 +158,7 @@ class RemoveRenderer : public RendererEvent {
|
|||
MOZ_COUNT_CTOR(RemoveRenderer);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(RemoveRenderer)
|
||||
virtual ~RemoveRenderer() { MOZ_COUNT_DTOR(RemoveRenderer); }
|
||||
|
||||
void Run(RenderThread& aRenderThread, WindowId aWindowId) override {
|
||||
aRenderThread.RemoveRenderer(aWindowId);
|
||||
|
@ -486,7 +486,7 @@ void WebRenderAPI::Readback(const TimeStamp& aStartTime, gfx::IntSize size,
|
|||
MOZ_COUNT_CTOR(Readback);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(Readback)
|
||||
virtual ~Readback() { MOZ_COUNT_DTOR(Readback); }
|
||||
|
||||
void Run(RenderThread& aRenderThread, WindowId aWindowId) override {
|
||||
aRenderThread.UpdateAndRender(aWindowId, VsyncId(), mStartTime,
|
||||
|
@ -536,7 +536,7 @@ void WebRenderAPI::Pause() {
|
|||
MOZ_COUNT_CTOR(PauseEvent);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(PauseEvent)
|
||||
virtual ~PauseEvent() { MOZ_COUNT_DTOR(PauseEvent); }
|
||||
|
||||
void Run(RenderThread& aRenderThread, WindowId aWindowId) override {
|
||||
aRenderThread.Pause(aWindowId);
|
||||
|
@ -564,7 +564,7 @@ bool WebRenderAPI::Resume() {
|
|||
MOZ_COUNT_CTOR(ResumeEvent);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(ResumeEvent)
|
||||
virtual ~ResumeEvent() { MOZ_COUNT_DTOR(ResumeEvent); }
|
||||
|
||||
void Run(RenderThread& aRenderThread, WindowId aWindowId) override {
|
||||
*mResult = aRenderThread.Resume(aWindowId);
|
||||
|
@ -608,7 +608,7 @@ void WebRenderAPI::WaitFlushed() {
|
|||
MOZ_COUNT_CTOR(WaitFlushedEvent);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(WaitFlushedEvent)
|
||||
virtual ~WaitFlushedEvent() { MOZ_COUNT_DTOR(WaitFlushedEvent); }
|
||||
|
||||
void Run(RenderThread& aRenderThread, WindowId aWindowId) override {
|
||||
layers::AutoCompleteTask complete(mTask);
|
||||
|
@ -676,7 +676,7 @@ WebRenderAPI::WriteCollectedFrames() {
|
|||
MOZ_COUNT_CTOR(WriteCollectedFramesEvent);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(WriteCollectedFramesEvent)
|
||||
~WriteCollectedFramesEvent() { MOZ_COUNT_DTOR(WriteCollectedFramesEvent); }
|
||||
|
||||
void Run(RenderThread& aRenderThread, WindowId aWindowId) override {
|
||||
aRenderThread.WriteCollectedFramesForWindow(aWindowId);
|
||||
|
@ -706,7 +706,7 @@ WebRenderAPI::GetCollectedFrames() {
|
|||
MOZ_COUNT_CTOR(GetCollectedFramesEvent);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(GetCollectedFramesEvent);
|
||||
~GetCollectedFramesEvent() { MOZ_COUNT_DTOR(GetCollectedFramesEvent); };
|
||||
|
||||
void Run(RenderThread& aRenderThread, WindowId aWindowId) override {
|
||||
Maybe<layers::CollectedFrames> frames =
|
||||
|
@ -858,7 +858,7 @@ class FrameStartTime : public RendererEvent {
|
|||
MOZ_COUNT_CTOR(FrameStartTime);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(FrameStartTime)
|
||||
virtual ~FrameStartTime() { MOZ_COUNT_DTOR(FrameStartTime); }
|
||||
|
||||
void Run(RenderThread& aRenderThread, WindowId aWindowId) override {
|
||||
auto renderer = aRenderThread.GetRenderer(aWindowId);
|
||||
|
|
|
@ -283,7 +283,7 @@ class FrameAnimator {
|
|||
MOZ_COUNT_CTOR(FrameAnimator);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(FrameAnimator)
|
||||
~FrameAnimator() { MOZ_COUNT_DTOR(FrameAnimator); }
|
||||
|
||||
/**
|
||||
* Call when you need to re-start animating. Ensures we start from the first
|
||||
|
|
|
@ -679,9 +679,9 @@ struct bundleCacheEntry_t final : public LinkedListElement<bundleCacheEntry_t> {
|
|||
nsCString mHashKey;
|
||||
nsCOMPtr<nsIStringBundle> mBundle;
|
||||
|
||||
MOZ_COUNTED_DEFAULT_CTOR(bundleCacheEntry_t)
|
||||
bundleCacheEntry_t() { MOZ_COUNT_CTOR(bundleCacheEntry_t); }
|
||||
|
||||
MOZ_COUNTED_DTOR(bundleCacheEntry_t)
|
||||
~bundleCacheEntry_t() { MOZ_COUNT_DTOR(bundleCacheEntry_t); }
|
||||
};
|
||||
|
||||
nsStringBundleService::nsStringBundleService()
|
||||
|
|
|
@ -101,7 +101,7 @@ namespace {
|
|||
class TestParent final : public mozilla::ipc::PBackgroundTestParent {
|
||||
friend class mozilla::ipc::BackgroundParentImpl;
|
||||
|
||||
MOZ_COUNTED_DEFAULT_CTOR(TestParent)
|
||||
TestParent() { MOZ_COUNT_CTOR(TestParent); }
|
||||
|
||||
protected:
|
||||
~TestParent() override { MOZ_COUNT_DTOR(TestParent); }
|
||||
|
|
|
@ -20,9 +20,9 @@ void InitUIThread();
|
|||
|
||||
class DeferredMessage {
|
||||
public:
|
||||
MOZ_COUNTED_DEFAULT_CTOR(DeferredMessage)
|
||||
DeferredMessage() { MOZ_COUNT_CTOR(DeferredMessage); }
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(DeferredMessage)
|
||||
virtual ~DeferredMessage() { MOZ_COUNT_DTOR(DeferredMessage); }
|
||||
|
||||
virtual void Run() = 0;
|
||||
};
|
||||
|
|
|
@ -18,8 +18,8 @@ class TestSelfManageParent : public PTestSelfManageParent {
|
|||
friend class PTestSelfManageParent;
|
||||
|
||||
public:
|
||||
MOZ_COUNTED_DEFAULT_CTOR(TestSelfManageParent)
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(TestSelfManageParent)
|
||||
TestSelfManageParent() { MOZ_COUNT_CTOR(TestSelfManageParent); }
|
||||
virtual ~TestSelfManageParent() { MOZ_COUNT_DTOR(TestSelfManageParent); }
|
||||
|
||||
ActorDestroyReason mWhy;
|
||||
|
||||
|
@ -37,7 +37,7 @@ class TestSelfManageRootParent : public PTestSelfManageRootParent {
|
|||
friend class PTestSelfManageRootParent;
|
||||
|
||||
public:
|
||||
MOZ_COUNTED_DEFAULT_CTOR(TestSelfManageRootParent)
|
||||
TestSelfManageRootParent() { MOZ_COUNT_CTOR(TestSelfManageRootParent); }
|
||||
virtual ~TestSelfManageRootParent() {
|
||||
MOZ_COUNT_DTOR(TestSelfManageRootParent);
|
||||
}
|
||||
|
@ -68,8 +68,8 @@ class TestSelfManageChild : public PTestSelfManageChild {
|
|||
friend class PTestSelfManageChild;
|
||||
|
||||
public:
|
||||
MOZ_COUNTED_DEFAULT_CTOR(TestSelfManageChild)
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(TestSelfManageChild)
|
||||
TestSelfManageChild() { MOZ_COUNT_CTOR(TestSelfManageChild); }
|
||||
virtual ~TestSelfManageChild() { MOZ_COUNT_DTOR(TestSelfManageChild); }
|
||||
|
||||
protected:
|
||||
PTestSelfManageChild* AllocPTestSelfManageChild() {
|
||||
|
@ -88,7 +88,7 @@ class TestSelfManageRootChild : public PTestSelfManageRootChild {
|
|||
friend class PTestSelfManageRootChild;
|
||||
|
||||
public:
|
||||
MOZ_COUNTED_DEFAULT_CTOR(TestSelfManageRootChild)
|
||||
TestSelfManageRootChild() { MOZ_COUNT_CTOR(TestSelfManageRootChild); }
|
||||
virtual ~TestSelfManageRootChild() {
|
||||
MOZ_COUNT_DTOR(TestSelfManageRootChild);
|
||||
}
|
||||
|
|
|
@ -16,8 +16,8 @@ namespace _ipdltest {
|
|||
|
||||
class TestUniquePtrIPCParent : public PTestUniquePtrIPCParent {
|
||||
public:
|
||||
MOZ_COUNTED_DEFAULT_CTOR(TestUniquePtrIPCParent)
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(TestUniquePtrIPCParent)
|
||||
TestUniquePtrIPCParent() { MOZ_COUNT_CTOR(TestUniquePtrIPCParent); }
|
||||
virtual ~TestUniquePtrIPCParent() { MOZ_COUNT_DTOR(TestUniquePtrIPCParent); }
|
||||
|
||||
static bool RunTestInProcesses() { return true; }
|
||||
static bool RunTestInThreads() { return false; }
|
||||
|
@ -37,8 +37,8 @@ class TestUniquePtrIPCParent : public PTestUniquePtrIPCParent {
|
|||
|
||||
class TestUniquePtrIPCChild : public PTestUniquePtrIPCChild {
|
||||
public:
|
||||
MOZ_COUNTED_DEFAULT_CTOR(TestUniquePtrIPCChild)
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(TestUniquePtrIPCChild)
|
||||
TestUniquePtrIPCChild() { MOZ_COUNT_CTOR(TestUniquePtrIPCChild); }
|
||||
virtual ~TestUniquePtrIPCChild() { MOZ_COUNT_DTOR(TestUniquePtrIPCChild); }
|
||||
|
||||
mozilla::ipc::IPCResult RecvTestMessage(UniquePtr<int>&& aA1,
|
||||
UniquePtr<DummyStruct>&& aA2,
|
||||
|
|
|
@ -1716,9 +1716,9 @@ nsXPCComponents_Utils::UnlinkGhostWindows() {
|
|||
|
||||
#ifdef NS_FREE_PERMANENT_DATA
|
||||
struct IntentionallyLeakedObject {
|
||||
MOZ_COUNTED_DEFAULT_CTOR(IntentionallyLeakedObject)
|
||||
IntentionallyLeakedObject() { MOZ_COUNT_CTOR(IntentionallyLeakedObject); }
|
||||
|
||||
MOZ_COUNTED_DTOR(IntentionallyLeakedObject)
|
||||
~IntentionallyLeakedObject() { MOZ_COUNT_DTOR(IntentionallyLeakedObject); }
|
||||
};
|
||||
#endif
|
||||
|
||||
|
|
|
@ -972,8 +972,8 @@ class XPCNativeMember final {
|
|||
void SetIndexInInterface(uint16_t index) { mIndexInInterface = index; }
|
||||
|
||||
/* default ctor - leave random contents */
|
||||
MOZ_COUNTED_DEFAULT_CTOR(XPCNativeMember)
|
||||
MOZ_COUNTED_DTOR(XPCNativeMember)
|
||||
XPCNativeMember() { MOZ_COUNT_CTOR(XPCNativeMember); }
|
||||
~XPCNativeMember() { MOZ_COUNT_DTOR(XPCNativeMember); }
|
||||
|
||||
private:
|
||||
bool Resolve(XPCCallContext& ccx, XPCNativeInterface* iface,
|
||||
|
|
|
@ -38,8 +38,8 @@ class nsStyleChangeList : private AutoTArray<nsStyleChangeData, 10> {
|
|||
using base_type::Length;
|
||||
using base_type::operator[];
|
||||
|
||||
MOZ_COUNTED_DEFAULT_CTOR(nsStyleChangeList)
|
||||
MOZ_COUNTED_DTOR(nsStyleChangeList)
|
||||
nsStyleChangeList() { MOZ_COUNT_CTOR(nsStyleChangeList); }
|
||||
~nsStyleChangeList() { MOZ_COUNT_DTOR(nsStyleChangeList); }
|
||||
void AppendChange(nsIFrame* aFrame, nsIContent* aContent, nsChangeHint aHint);
|
||||
|
||||
// Starting from the end of the list, removes all changes until the list is
|
||||
|
|
|
@ -67,7 +67,11 @@ class nsDisplayButtonBoxShadowOuter : public nsPaintedDisplayItem {
|
|||
: nsPaintedDisplayItem(aBuilder, aFrame) {
|
||||
MOZ_COUNT_CTOR(nsDisplayButtonBoxShadowOuter);
|
||||
}
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayButtonBoxShadowOuter)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
virtual ~nsDisplayButtonBoxShadowOuter() {
|
||||
MOZ_COUNT_DTOR(nsDisplayButtonBoxShadowOuter);
|
||||
}
|
||||
#endif
|
||||
|
||||
virtual bool CreateWebRenderCommands(
|
||||
mozilla::wr::DisplayListBuilder& aBuilder,
|
||||
|
@ -191,8 +195,9 @@ class nsDisplayButtonBorder final : public nsPaintedDisplayItem {
|
|||
: nsPaintedDisplayItem(aBuilder, aFrame), mBFR(aRenderer) {
|
||||
MOZ_COUNT_CTOR(nsDisplayButtonBorder);
|
||||
}
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayButtonBorder)
|
||||
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
virtual ~nsDisplayButtonBorder() { MOZ_COUNT_DTOR(nsDisplayButtonBorder); }
|
||||
#endif
|
||||
virtual bool MustPaintOnContentSide() const override { return true; }
|
||||
|
||||
virtual void HitTest(nsDisplayListBuilder* aBuilder, const nsRect& aRect,
|
||||
|
@ -296,7 +301,11 @@ class nsDisplayButtonForeground final : public nsPaintedDisplayItem {
|
|||
: nsPaintedDisplayItem(aBuilder, aFrame), mBFR(aRenderer) {
|
||||
MOZ_COUNT_CTOR(nsDisplayButtonForeground);
|
||||
}
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayButtonForeground)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
virtual ~nsDisplayButtonForeground() {
|
||||
MOZ_COUNT_DTOR(nsDisplayButtonForeground);
|
||||
}
|
||||
#endif
|
||||
|
||||
nsDisplayItemGeometry* AllocateGeometry(
|
||||
nsDisplayListBuilder* aBuilder) override;
|
||||
|
|
|
@ -1466,7 +1466,9 @@ class nsDisplayComboboxFocus : public nsPaintedDisplayItem {
|
|||
: nsPaintedDisplayItem(aBuilder, aFrame) {
|
||||
MOZ_COUNT_CTOR(nsDisplayComboboxFocus);
|
||||
}
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayComboboxFocus)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
virtual ~nsDisplayComboboxFocus() { MOZ_COUNT_DTOR(nsDisplayComboboxFocus); }
|
||||
#endif
|
||||
|
||||
virtual void Paint(nsDisplayListBuilder* aBuilder, gfxContext* aCtx) override;
|
||||
NS_DISPLAY_DECL_NAME("ComboboxFocus", TYPE_COMBOBOX_FOCUS)
|
||||
|
|
|
@ -100,8 +100,11 @@ class nsDisplayFieldSetBorder final : public nsPaintedDisplayItem {
|
|||
: nsPaintedDisplayItem(aBuilder, aFrame) {
|
||||
MOZ_COUNT_CTOR(nsDisplayFieldSetBorder);
|
||||
}
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayFieldSetBorder)
|
||||
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
virtual ~nsDisplayFieldSetBorder() {
|
||||
MOZ_COUNT_DTOR(nsDisplayFieldSetBorder);
|
||||
}
|
||||
#endif
|
||||
virtual void Paint(nsDisplayListBuilder* aBuilder, gfxContext* aCtx) override;
|
||||
virtual nsDisplayItemGeometry* AllocateGeometry(
|
||||
nsDisplayListBuilder* aBuilder) override;
|
||||
|
|
|
@ -154,7 +154,11 @@ class nsDisplayRangeFocusRing final : public nsPaintedDisplayItem {
|
|||
: nsPaintedDisplayItem(aBuilder, aFrame) {
|
||||
MOZ_COUNT_CTOR(nsDisplayRangeFocusRing);
|
||||
}
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayRangeFocusRing)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
virtual ~nsDisplayRangeFocusRing() {
|
||||
MOZ_COUNT_DTOR(nsDisplayRangeFocusRing);
|
||||
}
|
||||
#endif
|
||||
|
||||
nsDisplayItemGeometry* AllocateGeometry(
|
||||
nsDisplayListBuilder* aBuilder) override;
|
||||
|
|
|
@ -106,7 +106,9 @@ class nsDisplayListFocus : public nsPaintedDisplayItem {
|
|||
: nsPaintedDisplayItem(aBuilder, aFrame) {
|
||||
MOZ_COUNT_CTOR(nsDisplayListFocus);
|
||||
}
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayListFocus)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
virtual ~nsDisplayListFocus() { MOZ_COUNT_DTOR(nsDisplayListFocus); }
|
||||
#endif
|
||||
|
||||
virtual nsRect GetBounds(nsDisplayListBuilder* aBuilder,
|
||||
bool* aSnap) const override {
|
||||
|
|
|
@ -546,7 +546,9 @@ class nsDisplayBullet final : public nsPaintedDisplayItem {
|
|||
: nsPaintedDisplayItem(aBuilder, aFrame) {
|
||||
MOZ_COUNT_CTOR(nsDisplayBullet);
|
||||
}
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayBullet)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
virtual ~nsDisplayBullet() { MOZ_COUNT_DTOR(nsDisplayBullet); }
|
||||
#endif
|
||||
|
||||
virtual nsRect GetBounds(nsDisplayListBuilder* aBuilder,
|
||||
bool* aSnap) const override {
|
||||
|
|
|
@ -455,7 +455,7 @@ class nsDisplayCanvasFocus : public nsPaintedDisplayItem {
|
|||
: nsPaintedDisplayItem(aBuilder, aFrame) {
|
||||
MOZ_COUNT_CTOR(nsDisplayCanvasFocus);
|
||||
}
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayCanvasFocus)
|
||||
virtual ~nsDisplayCanvasFocus() { MOZ_COUNT_DTOR(nsDisplayCanvasFocus); }
|
||||
|
||||
virtual nsRect GetBounds(nsDisplayListBuilder* aBuilder,
|
||||
bool* aSnap) const override {
|
||||
|
|
|
@ -29,7 +29,12 @@ class nsDisplayColumnRule : public nsPaintedDisplayItem {
|
|||
: nsPaintedDisplayItem(aBuilder, aFrame) {
|
||||
MOZ_COUNT_CTOR(nsDisplayColumnRule);
|
||||
}
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayColumnRule)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
virtual ~nsDisplayColumnRule() {
|
||||
MOZ_COUNT_DTOR(nsDisplayColumnRule);
|
||||
mBorderRenderers.Clear();
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Returns the frame's visual overflow rect instead of the frame's bounds.
|
||||
|
|
|
@ -932,8 +932,7 @@ static void CompareLayers(
|
|||
// be different with the corresponded one in aSecondLayers
|
||||
if (!aSecondLayers || i >= aSecondLayers->mImageCount ||
|
||||
(!aSecondLayers->mLayers[i].mImage.IsResolved() ||
|
||||
image.GetImageRequest() !=
|
||||
aSecondLayers->mLayers[i].mImage.GetImageRequest())) {
|
||||
image.GetImageRequest() != aSecondLayers->mLayers[i].mImage.GetImageRequest())) {
|
||||
if (imgRequestProxy* req = image.GetImageRequest()) {
|
||||
aCallback(req);
|
||||
}
|
||||
|
@ -2320,7 +2319,11 @@ class nsDisplaySelectionOverlay : public nsPaintedDisplayItem {
|
|||
mSelectionValue(aSelectionValue) {
|
||||
MOZ_COUNT_CTOR(nsDisplaySelectionOverlay);
|
||||
}
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplaySelectionOverlay)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
virtual ~nsDisplaySelectionOverlay() {
|
||||
MOZ_COUNT_DTOR(nsDisplaySelectionOverlay);
|
||||
}
|
||||
#endif
|
||||
|
||||
virtual void Paint(nsDisplayListBuilder* aBuilder, gfxContext* aCtx) override;
|
||||
bool CreateWebRenderCommands(
|
||||
|
@ -11717,7 +11720,7 @@ struct DR_FrameTreeNode {
|
|||
MOZ_COUNT_CTOR(DR_FrameTreeNode);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(DR_FrameTreeNode)
|
||||
~DR_FrameTreeNode() { MOZ_COUNT_DTOR(DR_FrameTreeNode); }
|
||||
|
||||
nsIFrame* mFrame;
|
||||
DR_FrameTreeNode* mParent;
|
||||
|
|
|
@ -34,8 +34,9 @@ struct SelectionDetails {
|
|||
: mStart(), mEnd(), mSelectionType(mozilla::SelectionType::eInvalid) {
|
||||
MOZ_COUNT_CTOR(SelectionDetails);
|
||||
}
|
||||
MOZ_COUNTED_DTOR(SelectionDetails)
|
||||
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~SelectionDetails() { MOZ_COUNT_DTOR(SelectionDetails); }
|
||||
#endif
|
||||
int32_t mStart;
|
||||
int32_t mEnd;
|
||||
mozilla::SelectionType mSelectionType;
|
||||
|
@ -45,8 +46,8 @@ struct SelectionDetails {
|
|||
|
||||
struct SelectionCustomColors {
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
MOZ_COUNTED_DEFAULT_CTOR(SelectionCustomColors)
|
||||
MOZ_COUNTED_DTOR(SelectionCustomColors)
|
||||
SelectionCustomColors() { MOZ_COUNT_CTOR(SelectionCustomColors); }
|
||||
~SelectionCustomColors() { MOZ_COUNT_DTOR(SelectionCustomColors); }
|
||||
#endif
|
||||
mozilla::Maybe<nscolor> mForegroundColor;
|
||||
mozilla::Maybe<nscolor> mBackgroundColor;
|
||||
|
@ -868,7 +869,7 @@ class nsFrameSelection final {
|
|||
|
||||
bool mChangesDuringBatching = false;
|
||||
bool mDragSelectingCells = false;
|
||||
bool mDragState = false; // for drag purposes
|
||||
bool mDragState = false; // for drag purposes
|
||||
bool mDesiredPosSet = false;
|
||||
bool mAccessibleCaretEnabled = false;
|
||||
|
||||
|
|
|
@ -1333,7 +1333,11 @@ class nsDisplayFramesetBorder : public nsPaintedDisplayItem {
|
|||
: nsPaintedDisplayItem(aBuilder, aFrame) {
|
||||
MOZ_COUNT_CTOR(nsDisplayFramesetBorder);
|
||||
}
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayFramesetBorder)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
virtual ~nsDisplayFramesetBorder() {
|
||||
MOZ_COUNT_DTOR(nsDisplayFramesetBorder);
|
||||
}
|
||||
#endif
|
||||
|
||||
// REVIEW: see old GetFrameForPoint
|
||||
// Receives events in its bounds
|
||||
|
@ -1516,7 +1520,9 @@ class nsDisplayFramesetBlank : public nsPaintedDisplayItem {
|
|||
: nsPaintedDisplayItem(aBuilder, aFrame) {
|
||||
MOZ_COUNT_CTOR(nsDisplayFramesetBlank);
|
||||
}
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayFramesetBlank)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
virtual ~nsDisplayFramesetBlank() { MOZ_COUNT_DTOR(nsDisplayFramesetBlank); }
|
||||
#endif
|
||||
|
||||
virtual void Paint(nsDisplayListBuilder* aBuilder, gfxContext* aCtx) override;
|
||||
NS_DISPLAY_DECL_NAME("FramesetBlank", TYPE_FRAMESET_BLANK)
|
||||
|
|
|
@ -63,7 +63,9 @@ class nsDisplayCanvas final : public nsPaintedDisplayItem {
|
|||
: nsPaintedDisplayItem(aBuilder, aFrame) {
|
||||
MOZ_COUNT_CTOR(nsDisplayCanvas);
|
||||
}
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayCanvas)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
virtual ~nsDisplayCanvas() { MOZ_COUNT_DTOR(nsDisplayCanvas); }
|
||||
#endif
|
||||
|
||||
NS_DISPLAY_DECL_NAME("nsDisplayCanvas", TYPE_CANVAS)
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ class nsFloatCache {
|
|||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsFloatCache();
|
||||
#else
|
||||
~nsFloatCache() = default;
|
||||
~nsFloatCache() {}
|
||||
#endif
|
||||
|
||||
nsFloatCache* Next() const { return mNext; }
|
||||
|
@ -100,7 +100,7 @@ class nsFloatCacheFreeList : private nsFloatCacheList {
|
|||
~nsFloatCacheFreeList();
|
||||
#else
|
||||
nsFloatCacheFreeList() : mTail(nullptr) {}
|
||||
~nsFloatCacheFreeList() = default;
|
||||
~nsFloatCacheFreeList() {}
|
||||
#endif
|
||||
|
||||
// Reimplement trivial functions
|
||||
|
@ -1291,7 +1291,7 @@ class nsLineList {
|
|||
clear();
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(nsLineList)
|
||||
~nsLineList() { MOZ_COUNT_DTOR(nsLineList); }
|
||||
|
||||
const_iterator begin() const {
|
||||
const_iterator rv;
|
||||
|
|
|
@ -447,7 +447,9 @@ class nsDisplayHeaderFooter final : public nsPaintedDisplayItem {
|
|||
: nsPaintedDisplayItem(aBuilder, aFrame) {
|
||||
MOZ_COUNT_CTOR(nsDisplayHeaderFooter);
|
||||
}
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayHeaderFooter)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
virtual ~nsDisplayHeaderFooter() { MOZ_COUNT_DTOR(nsDisplayHeaderFooter); }
|
||||
#endif
|
||||
|
||||
virtual void Paint(nsDisplayListBuilder* aBuilder,
|
||||
gfxContext* aCtx) override {
|
||||
|
|
|
@ -360,7 +360,9 @@ class nsDisplayPlugin final : public nsPaintedDisplayItem {
|
|||
MOZ_COUNT_CTOR(nsDisplayPlugin);
|
||||
aBuilder->SetContainsPluginItem();
|
||||
}
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayPlugin)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
virtual ~nsDisplayPlugin() { MOZ_COUNT_DTOR(nsDisplayPlugin); }
|
||||
#endif
|
||||
|
||||
virtual nsRect GetBounds(nsDisplayListBuilder* aBuilder,
|
||||
bool* aSnap) const override;
|
||||
|
|
|
@ -406,7 +406,7 @@ class nsDisplayVideo : public nsPaintedDisplayItem {
|
|||
MOZ_COUNT_CTOR(nsDisplayVideo);
|
||||
}
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayVideo)
|
||||
virtual ~nsDisplayVideo() { MOZ_COUNT_DTOR(nsDisplayVideo); }
|
||||
#endif
|
||||
|
||||
NS_DISPLAY_DECL_NAME("Video", TYPE_VIDEO)
|
||||
|
|
|
@ -170,7 +170,7 @@ class nsPropertiesTable final : public nsGlyphTable {
|
|||
aPrimaryFontName, StyleFontFamilyNameSyntax::Identifiers));
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(nsPropertiesTable)
|
||||
~nsPropertiesTable() { MOZ_COUNT_DTOR(nsPropertiesTable); }
|
||||
|
||||
const FontFamilyName& PrimaryFontName() const { return mGlyphCodeFonts[0]; }
|
||||
|
||||
|
@ -378,7 +378,7 @@ already_AddRefed<gfxTextRun> nsPropertiesTable::MakeTextRun(
|
|||
// forwarded to the gfx code.
|
||||
class nsOpenTypeTable final : public nsGlyphTable {
|
||||
public:
|
||||
MOZ_COUNTED_DTOR(nsOpenTypeTable)
|
||||
~nsOpenTypeTable() { MOZ_COUNT_DTOR(nsOpenTypeTable); }
|
||||
|
||||
virtual nsGlyphCode ElementAt(DrawTarget* aDrawTarget,
|
||||
int32_t aAppUnitsPerDevPixel,
|
||||
|
@ -1689,7 +1689,11 @@ class nsDisplayMathMLSelectionRect final : public nsPaintedDisplayItem {
|
|||
: nsPaintedDisplayItem(aBuilder, aFrame), mRect(aRect) {
|
||||
MOZ_COUNT_CTOR(nsDisplayMathMLSelectionRect);
|
||||
}
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayMathMLSelectionRect)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
virtual ~nsDisplayMathMLSelectionRect() {
|
||||
MOZ_COUNT_DTOR(nsDisplayMathMLSelectionRect);
|
||||
}
|
||||
#endif
|
||||
|
||||
virtual void Paint(nsDisplayListBuilder* aBuilder, gfxContext* aCtx) override;
|
||||
NS_DISPLAY_DECL_NAME("MathMLSelectionRect", TYPE_MATHML_SELECTION_RECT)
|
||||
|
@ -1720,7 +1724,11 @@ class nsDisplayMathMLCharForeground final : public nsPaintedDisplayItem {
|
|||
mIsSelected(aIsSelected) {
|
||||
MOZ_COUNT_CTOR(nsDisplayMathMLCharForeground);
|
||||
}
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayMathMLCharForeground)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
virtual ~nsDisplayMathMLCharForeground() {
|
||||
MOZ_COUNT_DTOR(nsDisplayMathMLCharForeground);
|
||||
}
|
||||
#endif
|
||||
|
||||
virtual nsRect GetBounds(nsDisplayListBuilder* aBuilder,
|
||||
bool* aSnap) const override {
|
||||
|
@ -1766,7 +1774,11 @@ class nsDisplayMathMLCharDebug final : public nsPaintedDisplayItem {
|
|||
: nsPaintedDisplayItem(aBuilder, aFrame), mRect(aRect) {
|
||||
MOZ_COUNT_CTOR(nsDisplayMathMLCharDebug);
|
||||
}
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayMathMLCharDebug)
|
||||
# ifdef NS_BUILD_REFCNT_LOGGING
|
||||
virtual ~nsDisplayMathMLCharDebug() {
|
||||
MOZ_COUNT_DTOR(nsDisplayMathMLCharDebug);
|
||||
}
|
||||
# endif
|
||||
|
||||
virtual void Paint(nsDisplayListBuilder* aBuilder, gfxContext* aCtx) override;
|
||||
NS_DISPLAY_DECL_NAME("MathMLCharDebug", TYPE_MATHML_CHAR_DEBUG)
|
||||
|
|
|
@ -74,7 +74,9 @@ class nsDisplayMathMLError : public nsPaintedDisplayItem {
|
|||
: nsPaintedDisplayItem(aBuilder, aFrame) {
|
||||
MOZ_COUNT_CTOR(nsDisplayMathMLError);
|
||||
}
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayMathMLError)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
virtual ~nsDisplayMathMLError() { MOZ_COUNT_DTOR(nsDisplayMathMLError); }
|
||||
#endif
|
||||
|
||||
virtual void Paint(nsDisplayListBuilder* aBuilder, gfxContext* aCtx) override;
|
||||
NS_DISPLAY_DECL_NAME("MathMLError", TYPE_MATHML_ERROR)
|
||||
|
|
|
@ -263,7 +263,11 @@ class nsDisplayMathMLBoundingMetrics final : public nsDisplayItem {
|
|||
: nsDisplayItem(aBuilder, aFrame), mRect(aRect) {
|
||||
MOZ_COUNT_CTOR(nsDisplayMathMLBoundingMetrics);
|
||||
}
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayMathMLBoundingMetrics)
|
||||
# ifdef NS_BUILD_REFCNT_LOGGING
|
||||
virtual ~nsDisplayMathMLBoundingMetrics() {
|
||||
MOZ_COUNT_DTOR(nsDisplayMathMLBoundingMetrics);
|
||||
}
|
||||
# endif
|
||||
|
||||
virtual void Paint(nsDisplayListBuilder* aBuilder, gfxContext* aCtx) override;
|
||||
NS_DISPLAY_DECL_NAME("MathMLBoundingMetrics", TYPE_MATHML_BOUNDING_METRICS)
|
||||
|
@ -303,7 +307,9 @@ class nsDisplayMathMLBar final : public nsPaintedDisplayItem {
|
|||
: nsPaintedDisplayItem(aBuilder, aFrame), mRect(aRect), mIndex(aIndex) {
|
||||
MOZ_COUNT_CTOR(nsDisplayMathMLBar);
|
||||
}
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayMathMLBar)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
virtual ~nsDisplayMathMLBar() { MOZ_COUNT_DTOR(nsDisplayMathMLBar); }
|
||||
#endif
|
||||
|
||||
virtual uint16_t CalculatePerFrameKey() const override { return mIndex; }
|
||||
|
||||
|
|
|
@ -722,7 +722,9 @@ class nsDisplayNotation final : public nsPaintedDisplayItem {
|
|||
mType(aType) {
|
||||
MOZ_COUNT_CTOR(nsDisplayNotation);
|
||||
}
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayNotation)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
virtual ~nsDisplayNotation() { MOZ_COUNT_DTOR(nsDisplayNotation); }
|
||||
#endif
|
||||
|
||||
virtual uint16_t CalculatePerFrameKey() const override { return mType; }
|
||||
|
||||
|
|
|
@ -610,7 +610,9 @@ class nsDisplayMathMLSlash : public nsPaintedDisplayItem {
|
|||
mThickness(aThickness) {
|
||||
MOZ_COUNT_CTOR(nsDisplayMathMLSlash);
|
||||
}
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayMathMLSlash)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
virtual ~nsDisplayMathMLSlash() { MOZ_COUNT_DTOR(nsDisplayMathMLSlash); }
|
||||
#endif
|
||||
|
||||
virtual void Paint(nsDisplayListBuilder* aBuilder, gfxContext* aCtx) override;
|
||||
NS_DISPLAY_DECL_NAME("MathMLSlash", TYPE_MATHML_SLASH)
|
||||
|
|
|
@ -69,7 +69,7 @@ class MaskLayerImageCache {
|
|||
}
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR(PixelRoundedRect)
|
||||
~PixelRoundedRect() { MOZ_COUNT_DTOR(PixelRoundedRect); }
|
||||
|
||||
// Applies the scale and translate components of aTransform.
|
||||
// It is an error to pass a matrix which does more than just scale
|
||||
|
@ -226,7 +226,7 @@ class MaskLayerImageCache {
|
|||
: mKey(aOther.mKey.get()) {
|
||||
NS_ERROR("ALLOW_MEMMOVE == true, should never be called");
|
||||
}
|
||||
MOZ_COUNTED_DTOR(MaskLayerImageEntry)
|
||||
~MaskLayerImageEntry() { MOZ_COUNT_DTOR(MaskLayerImageEntry); }
|
||||
|
||||
// KeyEquals(): does this entry match this key?
|
||||
bool KeyEquals(KeyTypePointer aKey) const { return *mKey == *aKey; }
|
||||
|
|
|
@ -126,7 +126,7 @@ class TransformClipNode {
|
|||
}
|
||||
|
||||
private:
|
||||
MOZ_COUNTED_DTOR(TransformClipNode)
|
||||
~TransformClipNode() { MOZ_COUNT_DTOR(TransformClipNode); }
|
||||
|
||||
const RefPtr<TransformClipNode> mParent;
|
||||
const gfx::Matrix4x4Flagged mTransform;
|
||||
|
|
|
@ -2490,7 +2490,7 @@ class nsDisplayItem : public nsDisplayItemBase {
|
|||
nsDisplayItem(nsDisplayListBuilder* aBuilder, nsIFrame* aFrame,
|
||||
const ActiveScrolledRoot* aActiveScrolledRoot);
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayItem)
|
||||
virtual ~nsDisplayItem() { MOZ_COUNT_DTOR(nsDisplayItem); }
|
||||
|
||||
/**
|
||||
* The custom copy-constructor is implemented to prevent copying the saved
|
||||
|
@ -4098,7 +4098,9 @@ class nsDisplayGeneric : public nsPaintedDisplayItem {
|
|||
return DisplayItemType::TYPE_GENERIC;
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayGeneric)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsDisplayGeneric() override { MOZ_COUNT_DTOR(nsDisplayGeneric); }
|
||||
#endif
|
||||
|
||||
void Paint(nsDisplayListBuilder* aBuilder, gfxContext* aCtx) override {
|
||||
MOZ_ASSERT(!!mPaint != !!mOldPaint);
|
||||
|
@ -4154,7 +4156,9 @@ class nsDisplayReflowCount : public nsPaintedDisplayItem {
|
|||
MOZ_COUNT_CTOR(nsDisplayReflowCount);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayReflowCount)
|
||||
# ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsDisplayReflowCount() override { MOZ_COUNT_DTOR(nsDisplayReflowCount); }
|
||||
# endif
|
||||
|
||||
NS_DISPLAY_DECL_NAME("nsDisplayReflowCount", TYPE_REFLOW_COUNT)
|
||||
|
||||
|
@ -4236,7 +4240,9 @@ class nsDisplayBorder : public nsPaintedDisplayItem {
|
|||
public:
|
||||
nsDisplayBorder(nsDisplayListBuilder* aBuilder, nsIFrame* aFrame);
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayBorder)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsDisplayBorder() override { MOZ_COUNT_DTOR(nsDisplayBorder); }
|
||||
#endif
|
||||
|
||||
NS_DISPLAY_DECL_NAME("Border", TYPE_BORDER)
|
||||
|
||||
|
@ -4399,7 +4405,9 @@ class nsDisplaySolidColor : public nsDisplaySolidColorBase {
|
|||
}
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplaySolidColor)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsDisplaySolidColor() override { MOZ_COUNT_DTOR(nsDisplaySolidColor); }
|
||||
#endif
|
||||
|
||||
NS_DISPLAY_DECL_NAME("SolidColor", TYPE_SOLID_COLOR)
|
||||
|
||||
|
@ -4462,7 +4470,11 @@ class nsDisplaySolidColorRegion : public nsPaintedDisplayItem {
|
|||
MOZ_COUNT_CTOR(nsDisplaySolidColorRegion);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplaySolidColorRegion)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsDisplaySolidColorRegion() override {
|
||||
MOZ_COUNT_DTOR(nsDisplaySolidColorRegion);
|
||||
}
|
||||
#endif
|
||||
|
||||
NS_DISPLAY_DECL_NAME("SolidColorRegion", TYPE_SOLID_COLOR_REGION)
|
||||
|
||||
|
@ -4769,7 +4781,13 @@ class nsDisplayThemedBackground : public nsPaintedDisplayItem {
|
|||
nsDisplayThemedBackground(nsDisplayListBuilder* aBuilder, nsIFrame* aFrame,
|
||||
const nsRect& aBackgroundRect);
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayThemedBackground)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsDisplayThemedBackground() override {
|
||||
MOZ_COUNT_DTOR(nsDisplayThemedBackground);
|
||||
}
|
||||
#else
|
||||
~nsDisplayThemedBackground() override = default;
|
||||
#endif
|
||||
|
||||
NS_DISPLAY_DECL_NAME("ThemedBackground", TYPE_THEMED_BACKGROUND)
|
||||
|
||||
|
@ -5120,7 +5138,11 @@ class nsDisplayBoxShadowOuter final : public nsPaintedDisplayItem {
|
|||
mBounds = GetBoundsInternal();
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayBoxShadowOuter)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsDisplayBoxShadowOuter() override {
|
||||
MOZ_COUNT_DTOR(nsDisplayBoxShadowOuter);
|
||||
}
|
||||
#endif
|
||||
|
||||
NS_DISPLAY_DECL_NAME("BoxShadowOuter", TYPE_BOX_SHADOW_OUTER)
|
||||
|
||||
|
@ -5178,7 +5200,11 @@ class nsDisplayBoxShadowInner : public nsPaintedDisplayItem {
|
|||
MOZ_COUNT_CTOR(nsDisplayBoxShadowInner);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayBoxShadowInner)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsDisplayBoxShadowInner() override {
|
||||
MOZ_COUNT_DTOR(nsDisplayBoxShadowInner);
|
||||
}
|
||||
#endif
|
||||
|
||||
NS_DISPLAY_DECL_NAME("BoxShadowInner", TYPE_BOX_SHADOW_INNER)
|
||||
|
||||
|
@ -5237,7 +5263,9 @@ class nsDisplayOutline final : public nsPaintedDisplayItem {
|
|||
MOZ_COUNT_CTOR(nsDisplayOutline);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayOutline)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsDisplayOutline() override { MOZ_COUNT_DTOR(nsDisplayOutline); }
|
||||
#endif
|
||||
|
||||
NS_DISPLAY_DECL_NAME("Outline", TYPE_OUTLINE)
|
||||
|
||||
|
@ -5272,7 +5300,9 @@ class nsDisplayEventReceiver final : public nsDisplayItem {
|
|||
MOZ_COUNT_CTOR(nsDisplayEventReceiver);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR_FINAL(nsDisplayEventReceiver)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsDisplayEventReceiver() final { MOZ_COUNT_DTOR(nsDisplayEventReceiver); }
|
||||
#endif
|
||||
|
||||
NS_DISPLAY_DECL_NAME("EventReceiver", TYPE_EVENT_RECEIVER)
|
||||
|
||||
|
@ -5298,7 +5328,11 @@ class nsDisplayCompositorHitTestInfo : public nsDisplayHitTestInfoBase {
|
|||
nsDisplayListBuilder* aBuilder, nsIFrame* aFrame,
|
||||
mozilla::UniquePtr<HitTestInfo>&& aHitTestInfo);
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayCompositorHitTestInfo)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsDisplayCompositorHitTestInfo() override {
|
||||
MOZ_COUNT_DTOR(nsDisplayCompositorHitTestInfo);
|
||||
}
|
||||
#endif
|
||||
|
||||
NS_DISPLAY_DECL_NAME("CompositorHitTestInfo", TYPE_COMPOSITOR_HITTEST_INFO)
|
||||
|
||||
|
@ -5652,7 +5686,9 @@ class nsDisplayOpacity : public nsDisplayWrapList {
|
|||
void HitTest(nsDisplayListBuilder* aBuilder, const nsRect& aRect,
|
||||
HitTestState* aState, nsTArray<nsIFrame*>* aOutFrames) override;
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayOpacity)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsDisplayOpacity() override { MOZ_COUNT_DTOR(nsDisplayOpacity); }
|
||||
#endif
|
||||
|
||||
NS_DISPLAY_DECL_NAME("Opacity", TYPE_OPACITY)
|
||||
|
||||
|
@ -5777,7 +5813,9 @@ class nsDisplayBlendMode : public nsDisplayWrapList {
|
|||
MOZ_COUNT_CTOR(nsDisplayBlendMode);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayBlendMode)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsDisplayBlendMode() override { MOZ_COUNT_DTOR(nsDisplayBlendMode); }
|
||||
#endif
|
||||
|
||||
NS_DISPLAY_DECL_NAME("BlendMode", TYPE_BLEND_MODE)
|
||||
|
||||
|
@ -5888,7 +5926,11 @@ class nsDisplayBlendContainer : public nsDisplayWrapList {
|
|||
nsDisplayListBuilder* aBuilder, nsIFrame* aFrame, nsDisplayList* aList,
|
||||
const ActiveScrolledRoot* aActiveScrolledRoot);
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayBlendContainer)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsDisplayBlendContainer() override {
|
||||
MOZ_COUNT_DTOR(nsDisplayBlendContainer);
|
||||
}
|
||||
#endif
|
||||
|
||||
NS_DISPLAY_DECL_NAME("BlendContainer", TYPE_BLEND_CONTAINER)
|
||||
|
||||
|
@ -6059,7 +6101,9 @@ class nsDisplayOwnLayer : public nsDisplayWrapList {
|
|||
MOZ_COUNT_CTOR(nsDisplayOwnLayer);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayOwnLayer)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsDisplayOwnLayer() override { MOZ_COUNT_DTOR(nsDisplayOwnLayer); }
|
||||
#endif
|
||||
|
||||
NS_DISPLAY_DECL_NAME("OwnLayer", TYPE_OWN_LAYER)
|
||||
|
||||
|
@ -6119,7 +6163,9 @@ class nsDisplayRenderRoot : public nsDisplayWrapList {
|
|||
const ActiveScrolledRoot* aActiveScrolledRoot,
|
||||
mozilla::wr::RenderRoot aRenderRoot);
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayRenderRoot)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsDisplayRenderRoot() override { MOZ_COUNT_DTOR(nsDisplayRenderRoot); }
|
||||
#endif
|
||||
|
||||
NS_DISPLAY_DECL_NAME("RenderRoot", TYPE_RENDER_ROOT)
|
||||
|
||||
|
@ -6216,7 +6262,9 @@ class nsDisplayResolution : public nsDisplaySubDocument {
|
|||
nsDisplayResolution(nsDisplayListBuilder* aBuilder, nsIFrame* aFrame,
|
||||
nsSubDocumentFrame* aSubDocFrame, nsDisplayList* aList,
|
||||
nsDisplayOwnLayerFlags aFlags);
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayResolution)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsDisplayResolution() override { MOZ_COUNT_DTOR(nsDisplayResolution); }
|
||||
#endif
|
||||
|
||||
NS_DISPLAY_DECL_NAME("Resolution", TYPE_RESOLUTION)
|
||||
|
||||
|
@ -6245,7 +6293,11 @@ class nsDisplayStickyPosition : public nsDisplayOwnLayer {
|
|||
MOZ_COUNT_CTOR(nsDisplayStickyPosition);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayStickyPosition)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsDisplayStickyPosition() override {
|
||||
MOZ_COUNT_DTOR(nsDisplayStickyPosition);
|
||||
}
|
||||
#endif
|
||||
|
||||
void SetClipChain(const DisplayItemClipChain* aClipChain,
|
||||
bool aStore) override;
|
||||
|
@ -6299,7 +6351,9 @@ class nsDisplayFixedPosition : public nsDisplayOwnLayer {
|
|||
nsDisplayListBuilder* aBuilder, nsIFrame* aFrame,
|
||||
nsDisplayBackgroundImage* aImage, uint16_t aIndex);
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayFixedPosition)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsDisplayFixedPosition() override { MOZ_COUNT_DTOR(nsDisplayFixedPosition); }
|
||||
#endif
|
||||
|
||||
NS_DISPLAY_DECL_NAME("FixedPosition", TYPE_FIXED_POSITION)
|
||||
|
||||
|
@ -6407,7 +6461,11 @@ class nsDisplayScrollInfoLayer : public nsDisplayWrapList {
|
|||
nsDisplayScrollInfoLayer(nsDisplayListBuilder* aBuilder,
|
||||
nsIFrame* aScrolledFrame, nsIFrame* aScrollFrame);
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayScrollInfoLayer)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsDisplayScrollInfoLayer() override {
|
||||
MOZ_COUNT_DTOR(nsDisplayScrollInfoLayer);
|
||||
}
|
||||
#endif
|
||||
|
||||
NS_DISPLAY_DECL_NAME("ScrollInfoLayer", TYPE_SCROLL_INFO_LAYER)
|
||||
|
||||
|
@ -6464,7 +6522,9 @@ class nsDisplayZoom : public nsDisplaySubDocument {
|
|||
int32_t aAPD, int32_t aParentAPD,
|
||||
nsDisplayOwnLayerFlags aFlags = nsDisplayOwnLayerFlags::None);
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayZoom)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsDisplayZoom() override { MOZ_COUNT_DTOR(nsDisplayZoom); }
|
||||
#endif
|
||||
|
||||
NS_DISPLAY_DECL_NAME("Zoom", TYPE_ZOOM)
|
||||
|
||||
|
@ -6549,7 +6609,9 @@ class nsDisplayEffectsBase : public nsDisplayWrapList {
|
|||
MOZ_COUNT_CTOR(nsDisplayEffectsBase);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayEffectsBase)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsDisplayEffectsBase() override { MOZ_COUNT_DTOR(nsDisplayEffectsBase); }
|
||||
#endif
|
||||
|
||||
nsRegion GetOpaqueRegion(nsDisplayListBuilder* aBuilder,
|
||||
bool* aSnap) const override;
|
||||
|
@ -6607,7 +6669,11 @@ class nsDisplayMasksAndClipPaths : public nsDisplayEffectsBase {
|
|||
MOZ_COUNT_CTOR(nsDisplayMasksAndClipPaths);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayMasksAndClipPaths)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsDisplayMasksAndClipPaths() override {
|
||||
MOZ_COUNT_DTOR(nsDisplayMasksAndClipPaths);
|
||||
}
|
||||
#endif
|
||||
|
||||
NS_DISPLAY_DECL_NAME("Mask", TYPE_MASK)
|
||||
|
||||
|
@ -6692,7 +6758,11 @@ class nsDisplayBackdropRootContainer : public nsDisplayWrapList {
|
|||
MOZ_COUNT_CTOR(nsDisplayBackdropRootContainer);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayBackdropRootContainer)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsDisplayBackdropRootContainer() override {
|
||||
MOZ_COUNT_DTOR(nsDisplayBackdropRootContainer);
|
||||
}
|
||||
#endif
|
||||
|
||||
NS_DISPLAY_DECL_NAME("BackdropRootContainer", TYPE_BACKDROP_ROOT_CONTAINER)
|
||||
|
||||
|
@ -6724,7 +6794,11 @@ class nsDisplayBackdropFilters : public nsDisplayWrapList {
|
|||
MOZ_COUNT_CTOR(nsDisplayBackdropFilters);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayBackdropFilters)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsDisplayBackdropFilters() override {
|
||||
MOZ_COUNT_DTOR(nsDisplayBackdropFilters);
|
||||
}
|
||||
#endif
|
||||
|
||||
NS_DISPLAY_DECL_NAME("BackdropFilter", TYPE_BACKDROP_FILTER)
|
||||
|
||||
|
@ -6765,7 +6839,9 @@ class nsDisplayFilters : public nsDisplayEffectsBase {
|
|||
MOZ_COUNT_CTOR(nsDisplayFilters);
|
||||
}
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayFilters)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsDisplayFilters() override { MOZ_COUNT_DTOR(nsDisplayFilters); }
|
||||
#endif
|
||||
|
||||
NS_DISPLAY_DECL_NAME("Filter", TYPE_FILTER)
|
||||
|
||||
|
@ -6878,7 +6954,9 @@ class nsDisplayTransform : public nsDisplayHitTestInfoBase {
|
|||
uint16_t aIndex,
|
||||
ComputeTransformFunction aTransformGetter);
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayTransform)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsDisplayTransform() override { MOZ_COUNT_DTOR(nsDisplayTransform); }
|
||||
#endif
|
||||
|
||||
NS_DISPLAY_DECL_NAME("nsDisplayTransform", TYPE_TRANSFORM)
|
||||
|
||||
|
@ -7304,7 +7382,9 @@ class nsDisplayText final : public nsPaintedDisplayItem {
|
|||
public:
|
||||
nsDisplayText(nsDisplayListBuilder* aBuilder, nsTextFrame* aFrame,
|
||||
const mozilla::Maybe<bool>& aIsSelected);
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplayText)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
virtual ~nsDisplayText() { MOZ_COUNT_DTOR(nsDisplayText); }
|
||||
#endif
|
||||
|
||||
NS_DISPLAY_DECL_NAME("Text", TYPE_TEXT)
|
||||
|
||||
|
@ -7428,7 +7508,9 @@ class nsDisplaySVGWrapper : public nsDisplayWrapList {
|
|||
nsDisplaySVGWrapper(nsDisplayListBuilder* aBuilder, nsIFrame* aFrame,
|
||||
nsDisplayList* aList);
|
||||
|
||||
MOZ_COUNTED_DTOR_OVERRIDE(nsDisplaySVGWrapper)
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
~nsDisplaySVGWrapper() override { MOZ_COUNT_DTOR(nsDisplaySVGWrapper); }
|
||||
#endif
|
||||
|
||||
NS_DISPLAY_DECL_NAME("SVGWrapper", TYPE_SVG_WRAPPER)
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ class Element;
|
|||
class DocumentStyleRootIterator {
|
||||
public:
|
||||
explicit DocumentStyleRootIterator(nsINode* aStyleRoot);
|
||||
MOZ_COUNTED_DTOR(DocumentStyleRootIterator)
|
||||
~DocumentStyleRootIterator() { MOZ_COUNT_DTOR(DocumentStyleRootIterator); }
|
||||
|
||||
dom::Element* GetNextStyleRoot();
|
||||
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче