Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Unified Diff: test/cctest/test-serialize.cc

Issue 549174: Fix 64-bit build on Windows and Visual Studio project files... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/spaces.h ('k') | tools/visual_studio/common.vsprops » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-serialize.cc
===================================================================
--- test/cctest/test-serialize.cc (revision 3716)
+++ test/cctest/test-serialize.cc (working copy)
@@ -217,7 +217,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");
@@ -368,7 +368,7 @@
raw_foo = *(v8::Utils::OpenHandle(*foo));
}
- int file_name_length = strlen(FLAG_testing_serialization_file) + 10;
+ int file_name_length = StrLength(FLAG_testing_serialization_file) + 10;
Vector<char> startup_name = Vector<char>::New(file_name_length + 1);
OS::SNPrintF(startup_name, "%s.startup", FLAG_testing_serialization_file);
@@ -394,7 +394,7 @@
DEPENDENT_TEST(PartialDeserialization, PartialSerialization) {
- int file_name_length = strlen(FLAG_testing_serialization_file) + 10;
+ int file_name_length = StrLength(FLAG_testing_serialization_file) + 10;
Vector<char> startup_name = Vector<char>::New(file_name_length + 1);
OS::SNPrintF(startup_name, "%s.startup", FLAG_testing_serialization_file);
« no previous file with comments | « src/spaces.h ('k') | tools/visual_studio/common.vsprops » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698