diff options
Diffstat (limited to 'testing/embedder_test.cpp')
-rw-r--r-- | testing/embedder_test.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/embedder_test.cpp b/testing/embedder_test.cpp index 10b944d608..6dd13e2dc4 100644 --- a/testing/embedder_test.cpp +++ b/testing/embedder_test.cpp @@ -94,6 +94,12 @@ void EmbedderTest::TearDown() { delete loader_; } +#ifdef PDF_ENABLE_V8 +void EmbedderTest::SetExternalIsolate(void* isolate) { + external_isolate_ = static_cast<v8::Isolate*>(isolate); +} +#endif // PDF_ENABLE_V8 + bool EmbedderTest::CreateEmptyDocument() { document_ = FPDF_CreateNewDocument(); if (!document_) |