From: ager@chromium.org Date: Fri, 17 Jul 2009 16:34:58 +0000 (+0000) Subject: I will lint my code before submitting... X-Git-Tag: upstream/4.7.83~23612 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ab59ea5a169d51825fc655d6957a5686f785c591;p=platform%2Fupstream%2Fv8.git I will lint my code before submitting... git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2508 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- 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);