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

Unified Diff: gin/shell/gin_main.cc

Issue 1161053002: Revert of gin: Use V8 Maybe APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@maybe-gin-converter
Patch Set: Created 5 years, 7 months 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 | « gin/object_template_builder.cc ('k') | gin/shell_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/shell/gin_main.cc
diff --git a/gin/shell/gin_main.cc b/gin/shell/gin_main.cc
index 62143c9926f5a609ff95c2c3ef593a351df4925f..d3bab721bebd82aa0d0741863a1d859c6919bab1 100644
--- a/gin/shell/gin_main.cc
+++ b/gin/shell/gin_main.cc
@@ -75,9 +75,7 @@
{
gin::Runner::Scope scope(&runner);
- runner.GetContextHolder()
- ->isolate()
- ->SetCaptureStackTraceForUncaughtExceptions(true);
+ v8::V8::SetCaptureStackTraceForUncaughtExceptions(true);
}
base::CommandLine::StringVector args =
« no previous file with comments | « gin/object_template_builder.cc ('k') | gin/shell_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698