summaryrefslogtreecommitdiff
path: root/testing/js_embedder_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'testing/js_embedder_test.cpp')
-rw-r--r--testing/js_embedder_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/js_embedder_test.cpp b/testing/js_embedder_test.cpp
index 125d2bff3e..a8b0d5bfcf 100644
--- a/testing/js_embedder_test.cpp
+++ b/testing/js_embedder_test.cpp
@@ -21,7 +21,7 @@ void JSEmbedderTest::SetUp() {
v8::Isolate::Scope isolate_scope(m_pIsolate);
v8::HandleScope handle_scope(m_pIsolate);
FXJS_PerIsolateData::SetUp(m_pIsolate);
- m_Engine.reset(new CFXJS_Engine(m_pIsolate));
+ m_Engine = WrapUnique(new CFXJS_Engine(m_pIsolate));
m_Engine->InitializeEngine();
}