summaryrefslogtreecommitdiff
path: root/fpdfsdk/jsapi/fxjs_v8_embeddertest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/jsapi/fxjs_v8_embeddertest.cpp')
-rw-r--r--fpdfsdk/jsapi/fxjs_v8_embeddertest.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/fpdfsdk/jsapi/fxjs_v8_embeddertest.cpp b/fpdfsdk/jsapi/fxjs_v8_embeddertest.cpp
index e89bb28113..161487f356 100644
--- a/fpdfsdk/jsapi/fxjs_v8_embeddertest.cpp
+++ b/fpdfsdk/jsapi/fxjs_v8_embeddertest.cpp
@@ -36,9 +36,6 @@ class FXJSV8EmbedderTest : public JSEmbedderTest {
TEST_F(FXJSV8EmbedderTest, Getters) {
v8::Isolate::Scope isolate_scope(isolate());
-#ifdef PDF_ENABLE_XFA
- v8::Locker locker(isolate());
-#endif // PDF_ENABLE_XFA
v8::HandleScope handle_scope(isolate());
v8::Context::Scope context_scope(GetV8Context());
@@ -48,9 +45,6 @@ TEST_F(FXJSV8EmbedderTest, Getters) {
TEST_F(FXJSV8EmbedderTest, MultipleRutimes) {
v8::Isolate::Scope isolate_scope(isolate());
-#ifdef PDF_ENABLE_XFA
- v8::Locker locker(isolate());
-#endif // PDF_ENABLE_XFA
v8::HandleScope handle_scope(isolate());
v8::Global<v8::Context> global_context1;