Commit 17b4e745 authored by jochen's avatar jochen Committed by Commit bot

Mark soon-to-be-deprecated TryCatch ctor as deprecated

BUG=none
R=vogelheim@chromium.org
LOG=n

Review URL: https://codereview.chromium.org/1488563002

Cr-Commit-Position: refs/heads/master@{#32451}
parent 98641299
...@@ -6484,7 +6484,7 @@ class V8_EXPORT TryCatch { ...@@ -6484,7 +6484,7 @@ class V8_EXPORT TryCatch {
* all TryCatch blocks should be stack allocated because the memory * all TryCatch blocks should be stack allocated because the memory
* location itself is compared against JavaScript try/catch blocks. * location itself is compared against JavaScript try/catch blocks.
*/ */
V8_DEPRECATE_SOON("Use isolate version", TryCatch()); V8_DEPRECATED("Use isolate version", TryCatch());
/** /**
* Creates a new try/catch block and registers it with v8. Note that * Creates a new try/catch block and registers it with v8. Note that
......
...@@ -23392,7 +23392,7 @@ TEST(StrongObjectDelete) { ...@@ -23392,7 +23392,7 @@ TEST(StrongObjectDelete) {
v8::HandleScope scope(isolate); v8::HandleScope scope(isolate);
Local<Object> obj; Local<Object> obj;
{ {
v8::TryCatch try_catch; v8::TryCatch try_catch(isolate);
obj = Local<Object>::Cast(CompileRun( obj = Local<Object>::Cast(CompileRun(
"'use strong';" "'use strong';"
"({});")); "({});"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment