Index: src/string-stream.h |
diff --git a/src/string-stream.h b/src/string-stream.h |
index 03ea0620ad2f240fd977b8338b51b1124e087b8b..75b3db4b489ae70541ec29132e0f3daf9a3864ab 100644 |
--- a/src/string-stream.h |
+++ b/src/string-stream.h |
@@ -5,6 +5,8 @@ |
#ifndef V8_STRING_STREAM_H_ |
#define V8_STRING_STREAM_H_ |
+#include <memory> |
+ |
#include "src/allocation.h" |
#include "src/base/smart-pointers.h" |
#include "src/handles.h" |
@@ -135,7 +137,7 @@ class StringStream final { |
void OutputToStdOut() { OutputToFile(stdout); } |
void Log(Isolate* isolate); |
Handle<String> ToString(Isolate* isolate); |
- base::SmartArrayPointer<const char> ToCString() const; |
+ std::unique_ptr<char[]> ToCString() const; |
int length() const { return length_; } |
// Object printing support. |