From 378ec548964d57311faab4627e570566bd20aaa0 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 18 Oct 2018 19:15:47 +0000 Subject: Remove a few V8 includes from header files. Change-Id: I087c4e712aa87f99ada4ef515f5b361037a5dae0 Reviewed-on: https://pdfium-review.googlesource.com/c/44257 Reviewed-by: Tom Sepez Commit-Queue: Lei Zhang --- testing/embedder_test.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'testing/embedder_test.h') diff --git a/testing/embedder_test.h b/testing/embedder_test.h index fc9624118d..37c5ca8c27 100644 --- a/testing/embedder_test.h +++ b/testing/embedder_test.h @@ -20,10 +20,6 @@ #include "testing/gtest/include/gtest/gtest.h" #include "testing/test_support.h" -#ifdef PDF_ENABLE_V8 -#include "v8/include/v8.h" -#endif // PDF_ENABLE_v8 - class TestLoader; // This class is used to load a PDF document, and then run programatic @@ -75,9 +71,7 @@ class EmbedderTest : public ::testing::Test, #ifdef PDF_ENABLE_V8 // Call before SetUp to pass shared isolate, otherwise PDFium creates one. - void SetExternalIsolate(void* isolate) { - external_isolate_ = static_cast(isolate); - } + void SetExternalIsolate(void* isolate); #endif // PDF_ENABLE_V8 void SetDelegate(Delegate* delegate) { -- cgit v1.2.3