| Index: src/asmjs/asm-typer.cc
|
| diff --git a/src/asmjs/asm-typer.cc b/src/asmjs/asm-typer.cc
|
| index df118c51d67b39807dc8bf2bf409e1addf473d37..0b98775190488ed4414c61d2698b074cbc68eb97 100644
|
| --- a/src/asmjs/asm-typer.cc
|
| +++ b/src/asmjs/asm-typer.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include <algorithm>
|
| #include <limits>
|
| +#include <memory>
|
| #include <string>
|
|
|
| #include "src/v8.h"
|
| @@ -313,7 +314,7 @@ AsmTyper::VariableInfo* AsmTyper::ImportLookup(Property* import) {
|
| return obj_info;
|
| }
|
|
|
| - base::SmartArrayPointer<char> aname = key->AsPropertyName()->ToCString();
|
| + std::unique_ptr<char[]> aname = key->AsPropertyName()->ToCString();
|
| ObjectTypeMap::iterator i = stdlib->find(std::string(aname.get()));
|
| if (i == stdlib->end()) {
|
| return nullptr;
|
|
|