From f8039eff6c9670c9c31cc688e72102a546c421f0 Mon Sep 17 00:00:00 2001 From: "dcarney@chromium.org" Date: Wed, 29 May 2013 08:33:46 +0000 Subject: [PATCH] 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 --- test/cctest/test-api.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")); } } -- 2.7.4