summaryrefslogtreecommitdiff
path: root/testing/js_embedder_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'testing/js_embedder_test.h')
-rw-r--r--testing/js_embedder_test.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/testing/js_embedder_test.h b/testing/js_embedder_test.h
index fbec0ea5c9..1f27dbeae6 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 @@ class JSEmbedderTest : public EmbedderTest {
private:
std::unique_ptr<FXJS_ArrayBufferAllocator> m_pArrayBufferAllocator;
- v8::Isolate* m_pIsolate;
+ v8::Isolate* m_pIsolate = nullptr;
std::unique_ptr<CFXJS_Engine> m_Engine;
};