From 6b395fee22239c0fedd1974ea4fad5a5031fc469 Mon Sep 17 00:00:00 2001 From: "jochen@chromium.org" Date: Tue, 8 Apr 2014 23:58:15 +0000 Subject: Make net use v8 through gin - no longer try to use the default isolate (we want to remove it from v8) - add the option to gin to manage an isolate in non-strict mode BUG=359977 R=eroman@chromium.org,abarth@chromium.org Review URL: https://codereview.chromium.org/227233006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262559 0039d316-1c4b-4281-b951-d872f2087c98 --- gin/test/file_runner.cc | 2 +- gin/test/v8_test.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'gin/test') diff --git a/gin/test/file_runner.cc b/gin/test/file_runner.cc index 858fb39..c2d3510 100644 --- a/gin/test/file_runner.cc +++ b/gin/test/file_runner.cc @@ -55,7 +55,7 @@ void RunTestFromFile(const base::FilePath& path, FileRunnerDelegate* delegate, base::MessageLoop message_loop; - gin::IsolateHolder instance; + gin::IsolateHolder instance(gin::IsolateHolder::kStrictMode); gin::ShellRunner runner(delegate, instance.isolate()); { gin::Runner::Scope scope(&runner); diff --git a/gin/test/v8_test.cc b/gin/test/v8_test.cc index 95f4e74..c27154b 100644 --- a/gin/test/v8_test.cc +++ b/gin/test/v8_test.cc @@ -19,7 +19,7 @@ V8Test::~V8Test() { } void V8Test::SetUp() { - instance_.reset(new gin::IsolateHolder); + instance_.reset(new gin::IsolateHolder(gin::IsolateHolder::kStrictMode)); instance_->isolate()->Enter(); HandleScope handle_scope(instance_->isolate()); context_.Reset(instance_->isolate(), Context::New(instance_->isolate())); -- cgit v1.1