Index: test/cctest/test-serialize.cc |
=================================================================== |
--- test/cctest/test-serialize.cc (revision 3690) |
+++ test/cctest/test-serialize.cc (working copy) |
@@ -319,7 +319,7 @@ |
int map_space_used, |
int cell_space_used, |
int large_space_used) { |
- int file_name_length = strlen(file_name_) + 10; |
+ int file_name_length = StrLength(file_name_) + 10; |
Vector<char> name = Vector<char>::New(file_name_length + 1); |
OS::SNPrintF(name, "%s.size", file_name_); |
FILE* fp = OS::FOpen(name.start(), "w"); |
@@ -361,7 +361,7 @@ |
DEPENDENT_TEST(PartialDeserialization, PartialSerialization) { |
v8::V8::Initialize(); |
const char* file_name = FLAG_testing_serialization_file; |
- int file_name_length = strlen(file_name) + 10; |
+ int file_name_length = StrLength(file_name) + 10; |
Vector<char> name = Vector<char>::New(file_name_length + 1); |
OS::SNPrintF(name, "%s.size", file_name); |
FILE* fp = OS::FOpen(name.start(), "r"); |