| Index: fpdfsdk/javascript/public_methods_embeddertest.cpp
|
| diff --git a/fpdfsdk/javascript/public_methods_embeddertest.cpp b/fpdfsdk/javascript/public_methods_embeddertest.cpp
|
| index 1fc967b890839214b8256942a0febf986d4290f2..80ec6492eec6f9fe039af6f448cbe04a97c15a4c 100644
|
| --- a/fpdfsdk/javascript/public_methods_embeddertest.cpp
|
| +++ b/fpdfsdk/javascript/public_methods_embeddertest.cpp
|
| @@ -21,9 +21,6 @@ class PublicMethodsEmbedderTest : public JSEmbedderTest {};
|
|
|
| TEST_F(PublicMethodsEmbedderTest, MakeRegularDate) {
|
| 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());
|
| bool bWrongFormat;
|
| @@ -104,9 +101,6 @@ TEST_F(PublicMethodsEmbedderTest, MakeRegularDate) {
|
|
|
| TEST_F(PublicMethodsEmbedderTest, MakeFormatDate) {
|
| 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());
|
| CFX_WideString formatted_date;
|
|
|