Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 53ba981c85b2f794dae8c0187be0a8aae3270964..db0af8cc8928a0ba7257c99eebc4f9a2bdf9b367 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -31,7 +31,7 @@ |
#include "allocation.h" |
#include "builtins.h" |
#include "list.h" |
-#include "smart-pointer.h" |
+#include "smart-array-pointer.h" |
#include "unicode-inl.h" |
#if V8_TARGET_ARCH_ARM |
#include "arm/constants-arm.h" |
@@ -5981,12 +5981,12 @@ class String: public HeapObject { |
// ROBUST_STRING_TRAVERSAL invokes behaviour that is robust This means it |
// handles unexpected data without causing assert failures and it does not |
// do any heap allocations. This is useful when printing stack traces. |
- SmartPointer<char> ToCString(AllowNullsFlag allow_nulls, |
- RobustnessFlag robustness_flag, |
- int offset, |
- int length, |
- int* length_output = 0); |
- SmartPointer<char> ToCString( |
+ SmartArrayPointer<char> ToCString(AllowNullsFlag allow_nulls, |
+ RobustnessFlag robustness_flag, |
+ int offset, |
+ int length, |
+ int* length_output = 0); |
+ SmartArrayPointer<char> ToCString( |
AllowNullsFlag allow_nulls = DISALLOW_NULLS, |
RobustnessFlag robustness_flag = FAST_STRING_TRAVERSAL, |
int* length_output = 0); |
@@ -5999,7 +5999,7 @@ class String: public HeapObject { |
// ROBUST_STRING_TRAVERSAL invokes behaviour that is robust This means it |
// handles unexpected data without causing assert failures and it does not |
// do any heap allocations. This is useful when printing stack traces. |
- SmartPointer<uc16> ToWideCString( |
+ SmartArrayPointer<uc16> ToWideCString( |
RobustnessFlag robustness_flag = FAST_STRING_TRAVERSAL); |
// Tells whether the hash code has been computed. |