xref: /aosp_15_r20/external/pdfium/testing/js_embedder_test.cpp (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
1*3ac0a46fSAndroid Build Coastguard Worker // Copyright 2015 The PDFium Authors
2*3ac0a46fSAndroid Build Coastguard Worker // Use of this source code is governed by a BSD-style license that can be
3*3ac0a46fSAndroid Build Coastguard Worker // found in the LICENSE file.
4*3ac0a46fSAndroid Build Coastguard Worker 
5*3ac0a46fSAndroid Build Coastguard Worker #include "testing/js_embedder_test.h"
6*3ac0a46fSAndroid Build Coastguard Worker 
7*3ac0a46fSAndroid Build Coastguard Worker #include "testing/v8_test_environment.h"
8*3ac0a46fSAndroid Build Coastguard Worker 
9*3ac0a46fSAndroid Build Coastguard Worker JSEmbedderTest::JSEmbedderTest() = default;
10*3ac0a46fSAndroid Build Coastguard Worker 
11*3ac0a46fSAndroid Build Coastguard Worker JSEmbedderTest::~JSEmbedderTest() = default;
12*3ac0a46fSAndroid Build Coastguard Worker 
isolate() const13*3ac0a46fSAndroid Build Coastguard Worker v8::Isolate* JSEmbedderTest::isolate() const {
14*3ac0a46fSAndroid Build Coastguard Worker   return V8TestEnvironment::GetInstance()->isolate();
15*3ac0a46fSAndroid Build Coastguard Worker }
16