From 8abd7a2bbfef51ca6dc8a3462c067e5d2c46200e Mon Sep 17 00:00:00 2001 From: tsepez Date: Wed, 1 Jun 2016 13:35:28 -0700 Subject: Remove use of v8:Lockers The entire code base is single-threaded, hence the lockers ought not be required. Review-Url: https://codereview.chromium.org/2026933002 --- testing/js_embedder_test.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'testing') diff --git a/testing/js_embedder_test.cpp b/testing/js_embedder_test.cpp index 4815cd54a3..bdd1573a61 100644 --- a/testing/js_embedder_test.cpp +++ b/testing/js_embedder_test.cpp @@ -19,9 +19,6 @@ void JSEmbedderTest::SetUp() { EmbedderTest::SetUp(); v8::Isolate::Scope isolate_scope(m_pIsolate); -#ifdef PDF_ENABLE_XFA - v8::Locker locker(m_pIsolate); -#endif // PDF_ENABLE_XFA v8::HandleScope handle_scope(m_pIsolate); FXJS_PerIsolateData::SetUp(m_pIsolate); FXJS_InitializeRuntime(m_pIsolate, nullptr, &m_pPersistentContext, -- cgit v1.2.3