Index: src/gdb-jit.cc |
diff --git a/src/gdb-jit.cc b/src/gdb-jit.cc |
index e73b7337e75f85a383b65219038c8cef8e20495d..a3af1846dbbc1f0e75619966518a2469ac01f107 100644 |
--- a/src/gdb-jit.cc |
+++ b/src/gdb-jit.cc |
@@ -4,6 +4,8 @@ |
#include "src/gdb-jit.h" |
+#include <memory> |
+ |
#include "src/base/bits.h" |
#include "src/base/platform/platform.h" |
#include "src/bootstrapper.h" |
@@ -1015,7 +1017,7 @@ class CodeDescription BASE_EMBEDDED { |
} |
#endif |
- base::SmartArrayPointer<char> GetFilename() { |
+ std::unique_ptr<char[]> GetFilename() { |
return String::cast(script()->name())->ToCString(); |
} |