Index: src/messages.cc |
diff --git a/src/messages.cc b/src/messages.cc |
index 7193392d9d1c30a196efb43407327c6d369e0348..ebec3532fe2a4ca9b1505af9e0bc35281dd95a88 100644 |
--- a/src/messages.cc |
+++ b/src/messages.cc |
@@ -19,13 +19,13 @@ namespace internal { |
void MessageHandler::DefaultMessageReport(Isolate* isolate, |
const MessageLocation* loc, |
Handle<Object> message_obj) { |
- SmartArrayPointer<char> str = GetLocalizedMessage(isolate, message_obj); |
+ base::SmartArrayPointer<char> str = GetLocalizedMessage(isolate, message_obj); |
if (loc == NULL) { |
PrintF("%s\n", str.get()); |
} else { |
HandleScope scope(isolate); |
Handle<Object> data(loc->script()->name(), isolate); |
- SmartArrayPointer<char> data_str; |
+ base::SmartArrayPointer<char> data_str; |
if (data->IsString()) |
data_str = Handle<String>::cast(data)->ToCString(DISALLOW_NULLS); |
PrintF("%s:%i: %s\n", data_str.get() ? data_str.get() : "<unknown>", |
@@ -133,9 +133,8 @@ Handle<String> MessageHandler::GetMessage(Isolate* isolate, |
} |
-SmartArrayPointer<char> MessageHandler::GetLocalizedMessage( |
- Isolate* isolate, |
- Handle<Object> data) { |
+base::SmartArrayPointer<char> MessageHandler::GetLocalizedMessage( |
+ Isolate* isolate, Handle<Object> data) { |
HandleScope scope(isolate); |
return GetMessage(isolate, data)->ToCString(DISALLOW_NULLS); |
} |