summaryrefslogtreecommitdiff
path: root/src/node_http_parser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_http_parser.cc')
-rw-r--r--src/node_http_parser.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/node_http_parser.cc b/src/node_http_parser.cc
index 7d96466c39..e8fc1f22e4 100644
--- a/src/node_http_parser.cc
+++ b/src/node_http_parser.cc
@@ -155,8 +155,9 @@ class Parser : public AsyncWrap, public StreamListener {
}
- size_t self_size() const override {
- return sizeof(*this);
+ void MemoryInfo(MemoryTracker* tracker) const override {
+ tracker->TrackThis(this);
+ tracker->TrackField("current_buffer", current_buffer_);
}