summaryrefslogtreecommitdiff
path: root/deps/v8/src/string-stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/string-stream.h')
-rw-r--r--deps/v8/src/string-stream.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/deps/v8/src/string-stream.h b/deps/v8/src/string-stream.h
index 03ea0620ad..1c1d27a16b 100644
--- a/deps/v8/src/string-stream.h
+++ b/deps/v8/src/string-stream.h
@@ -5,8 +5,9 @@
#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"
#include "src/vector.h"
@@ -135,7 +136,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.