summaryrefslogtreecommitdiff
path: root/src/stream_pipe.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream_pipe.h')
-rw-r--r--src/stream_pipe.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stream_pipe.h b/src/stream_pipe.h
index 98d6dae11b..b72a60941b 100644
--- a/src/stream_pipe.h
+++ b/src/stream_pipe.h
@@ -18,7 +18,9 @@ class StreamPipe : public AsyncWrap {
static void Start(const v8::FunctionCallbackInfo<v8::Value>& args);
static void Unpipe(const v8::FunctionCallbackInfo<v8::Value>& args);
- size_t self_size() const override { return sizeof(*this); }
+ void MemoryInfo(MemoryTracker* tracker) const override {
+ tracker->TrackThis(this);
+ }
private:
StreamBase* source();