From ab59ea5a169d51825fc655d6957a5686f785c591 Mon Sep 17 00:00:00 2001 From: "ager@chromium.org" Date: Fri, 17 Jul 2009 16:34:58 +0000 Subject: [PATCH] I will lint my code before submitting... git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2508 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/api.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api.cc b/src/api.cc index bd82372..9e3ca9b 100644 --- a/src/api.cc +++ b/src/api.cc @@ -2495,7 +2495,7 @@ void v8::Object::SetPointerInInternalField(int index, void* value) { // Currently internal fields are used by DOM wrappers which only // get garbage collected by the mark-sweep collector, so we // pretenure the proxy. - HandleScope scope; + HandleScope scope; i::Handle proxy = i::Factory::NewProxy(reinterpret_cast(value), i::TENURED); if (!proxy.is_null()) obj->SetInternalField(index, *proxy); -- 2.7.4