diff --git a/src/node_http_parser.cc b/src/node_http_parser.cc index 82cb9aa8ae9..af372902726 100644 --- a/src/node_http_parser.cc +++ b/src/node_http_parser.cc @@ -166,7 +166,7 @@ struct StringPtr { } - Handle ToString() const { + Local ToString() const { if (str_) return String::New(str_, size_); else @@ -302,7 +302,7 @@ public: if (!cb->IsFunction()) return 0; - Handle argv[3] = { + Local argv[3] = { *current_buffer, Integer::New(at - current_buffer_data), Integer::New(length) @@ -514,7 +514,7 @@ private: if (!cb->IsFunction()) return; - Handle argv[2] = { + Local argv[2] = { CreateHeaders(), url_.ToString() };