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.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node_http_parser.cc b/src/node_http_parser.cc
index dcaf3d211a..5d093b27c3 100644
--- a/src/node_http_parser.cc
+++ b/src/node_http_parser.cc
@@ -157,11 +157,11 @@ class Parser : public AsyncWrap, public StreamListener {
void MemoryInfo(MemoryTracker* tracker) const override {
- tracker->TrackThis(this);
tracker->TrackField("current_buffer", current_buffer_);
}
- ADD_MEMORY_INFO_NAME(Parser)
+ SET_MEMORY_INFO_NAME(Parser)
+ SET_SELF_SIZE(Parser)
int on_message_begin() {
num_fields_ = num_values_ = 0;