Fix nits in JSEmbedderTest.

Change-Id: Ib03ee28f7a52cd5aa53c315402141b3b6cff5e7d
Reviewed-on: https://pdfium-review.googlesource.com/21892
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
diff --git a/testing/js_embedder_test.cpp b/testing/js_embedder_test.cpp
index 064a961..e9eb70d 100644
--- a/testing/js_embedder_test.cpp
+++ b/testing/js_embedder_test.cpp
@@ -3,11 +3,12 @@
 // found in the LICENSE file.
 
 #include "testing/js_embedder_test.h"
+
 #include "third_party/base/ptr_util.h"
 
 JSEmbedderTest::JSEmbedderTest()
-    : m_pArrayBufferAllocator(new FXJS_ArrayBufferAllocator),
-      m_pIsolate(nullptr) {}
+    : m_pArrayBufferAllocator(pdfium::MakeUnique<FXJS_ArrayBufferAllocator>()) {
+}
 
 JSEmbedderTest::~JSEmbedderTest() {}
 
diff --git a/testing/js_embedder_test.h b/testing/js_embedder_test.h
index fbec0ea..1f27dbe 100644
--- a/testing/js_embedder_test.h
+++ b/testing/js_embedder_test.h
@@ -6,7 +6,6 @@
 #define TESTING_JS_EMBEDDER_TEST_H_
 
 #include <memory>
-#include <vector>
 
 #include "fxjs/fxjs_v8.h"
 #include "testing/embedder_test.h"
@@ -25,7 +24,7 @@
 
  private:
   std::unique_ptr<FXJS_ArrayBufferAllocator> m_pArrayBufferAllocator;
-  v8::Isolate* m_pIsolate;
+  v8::Isolate* m_pIsolate = nullptr;
   std::unique_ptr<CFXJS_Engine> m_Engine;
 };