diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-08 23:58:15 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-08 23:58:15 +0000 |
commit | 6b395fee22239c0fedd1974ea4fad5a5031fc469 (patch) | |
tree | 91e4cb28ea1500dcf6abc88dbc2d8d0e4f758b4f /gin/test | |
parent | 193149cfeb82bf67a677cade990249e5dd7ebf23 (diff) | |
download | chromium_src-6b395fee22239c0fedd1974ea4fad5a5031fc469.zip chromium_src-6b395fee22239c0fedd1974ea4fad5a5031fc469.tar.gz chromium_src-6b395fee22239c0fedd1974ea4fad5a5031fc469.tar.bz2 |
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
Diffstat (limited to 'gin/test')
-rw-r--r-- | gin/test/file_runner.cc | 2 | ||||
-rw-r--r-- | gin/test/v8_test.cc | 2 |
2 files changed, 2 insertions, 2 deletions
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())); |