diff options
author | thestig <thestig@chromium.org> | 2016-09-28 22:06:20 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-28 22:06:20 -0700 |
commit | aca4fc767d663e43d323b96a75804a8f5cafd8d4 (patch) | |
tree | 3e4e5c168af167ba6044c83431511b9a978773ed /testing/js_embedder_test.cpp | |
parent | 3873f302948e37aad7066c8231575f486015cc34 (diff) | |
download | pdfium-aca4fc767d663e43d323b96a75804a8f5cafd8d4.tar.xz |
Replace a few more std::unique_ptr.reset() with WrapUnique assignments.
And fix a typo.
TBR=tsepez@chromium.org
Review-Url: https://codereview.chromium.org/2382443004
Diffstat (limited to 'testing/js_embedder_test.cpp')
-rw-r--r-- | testing/js_embedder_test.cpp | 2 |
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(); } |