aboutsummaryrefslogtreecommitdiff
path: root/src/node_http_parser.cc
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2012-03-26 06:57:28 -0700
committerBen Noordhuis <info@bnoordhuis.nl>2012-03-30 21:24:01 +0200
commit1a49df5fa94364ea133ef719b33263f90d113757 (patch)
treeba50709be1688445dce0629850568e20044fe3cb /src/node_http_parser.cc
parent9eacf93928f3357806e972c3ea79e7694f0cd7eb (diff)
downloadandroid-node-v8-1a49df5fa94364ea133ef719b33263f90d113757.tar.gz
android-node-v8-1a49df5fa94364ea133ef719b33263f90d113757.tar.bz2
android-node-v8-1a49df5fa94364ea133ef719b33263f90d113757.zip
http: root JS objects in HandleScope with Local<>
Diffstat (limited to 'src/node_http_parser.cc')
-rw-r--r--src/node_http_parser.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/node_http_parser.cc b/src/node_http_parser.cc
index 82cb9aa8ae..af37290272 100644
--- a/src/node_http_parser.cc
+++ b/src/node_http_parser.cc
@@ -166,7 +166,7 @@ struct StringPtr {
}
- Handle<String> ToString() const {
+ Local<String> ToString() const {
if (str_)
return String::New(str_, size_);
else
@@ -302,7 +302,7 @@ public:
if (!cb->IsFunction())
return 0;
- Handle<Value> argv[3] = {
+ Local<Value> argv[3] = {
*current_buffer,
Integer::New(at - current_buffer_data),
Integer::New(length)
@@ -514,7 +514,7 @@ private:
if (!cb->IsFunction())
return;
- Handle<Value> argv[2] = {
+ Local<Value> argv[2] = {
CreateHeaders(),
url_.ToString()
};