Lei Zhang | 1ac47eb | 2015-12-21 11:04:44 -0800 | [diff] [blame] | 1 | // Copyright 2015 PDFium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "testing/js_embedder_test.h" |
Lei Zhang | e75538b | 2017-12-20 19:33:20 +0000 | [diff] [blame] | 6 | |
Tom Sepez | 72f520c | 2020-08-24 23:43:46 +0000 | [diff] [blame^] | 7 | #include "testing/v8_test_environment.h" |
Lei Zhang | 1ac47eb | 2015-12-21 11:04:44 -0800 | [diff] [blame] | 8 | |
Tom Sepez | 72f520c | 2020-08-24 23:43:46 +0000 | [diff] [blame^] | 9 | JSEmbedderTest::JSEmbedderTest() = default; |
jochen | 38a1f0a | 2016-05-31 12:07:40 -0700 | [diff] [blame] | 10 | |
Lei Zhang | 0e744a2 | 2020-06-02 00:44:28 +0000 | [diff] [blame] | 11 | JSEmbedderTest::~JSEmbedderTest() = default; |
jochen | 38a1f0a | 2016-05-31 12:07:40 -0700 | [diff] [blame] | 12 | |
Tom Sepez | 72f520c | 2020-08-24 23:43:46 +0000 | [diff] [blame^] | 13 | v8::Isolate* JSEmbedderTest::isolate() const { |
| 14 | return V8TestEnvironment::GetInstance()->isolate(); |
Lei Zhang | 1ac47eb | 2015-12-21 11:04:44 -0800 | [diff] [blame] | 15 | } |