summaryrefslogtreecommitdiff
path: root/src/node_stat_watcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_stat_watcher.h')
-rw-r--r--src/node_stat_watcher.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/node_stat_watcher.h b/src/node_stat_watcher.h
index 33c90ad3cd..3d819b4578 100644
--- a/src/node_stat_watcher.h
+++ b/src/node_stat_watcher.h
@@ -44,11 +44,9 @@ class StatWatcher : public HandleWrap {
static void New(const v8::FunctionCallbackInfo<v8::Value>& args);
static void Start(const v8::FunctionCallbackInfo<v8::Value>& args);
- void MemoryInfo(MemoryTracker* tracker) const override {
- tracker->TrackThis(this);
- }
-
- ADD_MEMORY_INFO_NAME(StatWatcher)
+ SET_NO_MEMORY_INFO()
+ SET_MEMORY_INFO_NAME(StatWatcher)
+ SET_SELF_SIZE(StatWatcher)
private:
static void Callback(uv_fs_poll_t* handle,