Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(498)

Unified Diff: test/cctest/test-api.cc

Issue 1488563002: Mark soon-to-be-deprecated TryCatch ctor as deprecated (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/v8.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-api.cc
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
index 37517104075dad1e9d9b4155cb3630c00212c740..13df8336b429847f52f2c4f97fa46ef940c01e8e 100644
--- a/test/cctest/test-api.cc
+++ b/test/cctest/test-api.cc
@@ -23447,7 +23447,7 @@ TEST(StrongObjectDelete) {
v8::HandleScope scope(isolate);
Local<Object> obj;
{
- v8::TryCatch try_catch;
+ v8::TryCatch try_catch(isolate);
obj = Local<Object>::Cast(CompileRun(
"'use strong';"
"({});"));
« no previous file with comments | « include/v8.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698