Index: src/runtime/runtime-internal.cc |
diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc |
index 07306599f91670b91df6742c51c7250a8b85218f..84cc2030283148de91c3ab5e35eaccfada3ae137 100644 |
--- a/src/runtime/runtime-internal.cc |
+++ b/src/runtime/runtime-internal.cc |
@@ -4,6 +4,8 @@ |
#include "src/runtime/runtime-utils.h" |
+#include <memory> |
+ |
#include "src/arguments.h" |
#include "src/ast/prettyprinter.h" |
#include "src/bootstrapper.h" |
@@ -431,7 +433,7 @@ Handle<String> RenderCallSite(Isolate* isolate, Handle<Object> object) { |
MessageLocation location; |
if (ComputeLocation(isolate, &location)) { |
Zone zone(isolate->allocator()); |
- base::SmartPointer<ParseInfo> info( |
+ std::unique_ptr<ParseInfo> info( |
location.function()->shared()->is_function() |
? new ParseInfo(&zone, location.function()) |
: new ParseInfo(&zone, location.script())); |