summaryrefslogtreecommitdiffstats
path: root/gin
diff options
context:
space:
mode:
Diffstat (limited to 'gin')
-rw-r--r--gin/test/file_runner.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gin/test/file_runner.cc b/gin/test/file_runner.cc
index 304ddef..80b556e 100644
--- a/gin/test/file_runner.cc
+++ b/gin/test/file_runner.cc
@@ -72,7 +72,7 @@ void RunTestFromFile(const base::FilePath& path, FileRunnerDelegate* delegate,
gin::ShellRunner runner(delegate, instance.isolate());
{
gin::Runner::Scope scope(&runner);
- v8::V8::SetCaptureStackTraceForUncaughtExceptions(true);
+ instance.isolate()->SetCaptureStackTraceForUncaughtExceptions(true);
runner.Run(source, path.AsUTF8Unsafe());
if (run_until_idle) {