diff options
Diffstat (limited to 'deps/v8/src/string-stream.h')
-rw-r--r-- | deps/v8/src/string-stream.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/deps/v8/src/string-stream.h b/deps/v8/src/string-stream.h index cc50bb7150..d03f1b04c9 100644 --- a/deps/v8/src/string-stream.h +++ b/deps/v8/src/string-stream.h @@ -5,11 +5,17 @@ #ifndef V8_STRING_STREAM_H_ #define V8_STRING_STREAM_H_ +#include "src/allocation.h" +#include "src/base/smart-pointers.h" #include "src/handles.h" +#include "src/vector.h" namespace v8 { namespace internal { +// Forward declarations. +class ByteArray; + class StringAllocator { public: virtual ~StringAllocator() { } @@ -129,7 +135,7 @@ class StringStream final { void OutputToStdOut() { OutputToFile(stdout); } void Log(Isolate* isolate); Handle<String> ToString(Isolate* isolate); - SmartArrayPointer<const char> ToCString() const; + base::SmartArrayPointer<const char> ToCString() const; int length() const { return length_; } // Object printing support. |