summaryrefslogtreecommitdiff
path: root/src/fs_event_wrap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs_event_wrap.cc')
-rw-r--r--src/fs_event_wrap.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/fs_event_wrap.cc b/src/fs_event_wrap.cc
index aaf03dcb2b..739794665b 100644
--- a/src/fs_event_wrap.cc
+++ b/src/fs_event_wrap.cc
@@ -57,11 +57,9 @@ class FSEventWrap: public HandleWrap {
static void Start(const FunctionCallbackInfo<Value>& args);
static void GetInitialized(const FunctionCallbackInfo<Value>& args);
- void MemoryInfo(MemoryTracker* tracker) const override {
- tracker->TrackThis(this);
- }
-
- ADD_MEMORY_INFO_NAME(FSEventWrap)
+ SET_NO_MEMORY_INFO()
+ SET_MEMORY_INFO_NAME(FSEventWrap)
+ SET_SELF_SIZE(FSEventWrap)
private:
static const encoding kDefaultEncoding = UTF8;