From: dcarney@chromium.org Date: Wed, 29 May 2013 08:33:46 +0000 (+0000) Subject: fix return out of handlescope in NestedLockers X-Git-Tag: upstream/4.7.83~14076 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f8039eff6c9670c9c31cc688e72102a546c421f0;p=platform%2Fupstream%2Fv8.git fix return out of handlescope in NestedLockers R=jkummerow@chromium.org BUG= Review URL: https://codereview.chromium.org/16076004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14869 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc index e52dde3..36ce60b 100644 --- a/test/cctest/test-api.cc +++ b/test/cctest/test-api.cc @@ -12056,7 +12056,7 @@ static v8::Handle ThrowInJSNoCatch(const v8::Arguments& args) { v8::HandleScope scope(args.GetIsolate()); v8::Handle value = CompileRun(code); CHECK(value.IsEmpty()); - return v8_str("foo"); + return scope.Close(v8_str("foo")); } }