Index: src/scopes.cc |
diff --git a/src/scopes.cc b/src/scopes.cc |
index 4e87b25e11606c9b71989731f93dfef381bf12fc..e101fb7a97de1572547ccc889a2e987e1ec44541 100644 |
--- a/src/scopes.cc |
+++ b/src/scopes.cc |
@@ -663,7 +663,7 @@ static void Indent(int n, const char* str) { |
static void PrintName(Handle<String> name) { |
- SmartPointer<char> s = name->ToCString(DISALLOW_NULLS); |
+ SmartArrayPointer<char> s = name->ToCString(DISALLOW_NULLS); |
PrintF("%s", *s); |
} |