Index: testing/embedder_test.h |
diff --git a/testing/embedder_test.h b/testing/embedder_test.h |
index a544f265432a699edfd80c1f1a7059ad861c69cf..00b208d53ee3ec199787e59b6614b2211e0ae983 100644 |
--- a/testing/embedder_test.h |
+++ b/testing/embedder_test.h |
@@ -14,6 +14,7 @@ |
#include "public/fpdf_formfill.h" |
#include "public/fpdfview.h" |
#include "testing/gtest/include/gtest/gtest.h" |
+#include "testing/test_support.h" |
#ifdef PDF_ENABLE_V8 |
#include "v8/include/v8.h" |
@@ -123,7 +124,7 @@ class EmbedderTest : public ::testing::Test, |
void* external_isolate_; |
TestLoader* loader_; |
size_t file_length_; |
- char* file_contents_; |
+ std::unique_ptr<char, pdfium::FreeDeleter> file_contents_; |
private: |
static void UnsupportedHandlerTrampoline(UNSUPPORT_INFO*, int type); |