Index: test/cctest/test-cpu-profiler.cc |
diff --git a/test/cctest/test-cpu-profiler.cc b/test/cctest/test-cpu-profiler.cc |
index 61e4f3f129a34f0ad3b8e2b9694ae8855ce4162d..77b5bd877c7e8d6a688eed341ca18965e6f90163 100644 |
--- a/test/cctest/test-cpu-profiler.cc |
+++ b/test/cctest/test-cpu-profiler.cc |
@@ -105,9 +105,9 @@ i::Code* CreateCode(LocalContext* env) { |
i::EmbeddedVector<char, 256> script; |
i::EmbeddedVector<char, 32> name; |
- i::OS::SNPrintF(name, "function_%d", ++counter); |
+ i::SNPrintF(name, "function_%d", ++counter); |
const char* name_start = name.start(); |
- i::OS::SNPrintF(script, |
+ i::SNPrintF(script, |
"function %s() {\n" |
"var counter = 0;\n" |
"for (var i = 0; i < %d; ++i) counter += i;\n" |
@@ -470,8 +470,8 @@ static const v8::CpuProfileNode* GetChild(v8::Isolate* isolate, |
const v8::CpuProfileNode* result = FindChild(isolate, node, name); |
if (!result) { |
char buffer[100]; |
- i::OS::SNPrintF(Vector<char>(buffer, ARRAY_SIZE(buffer)), |
- "Failed to GetChild: %s", name); |
+ i::SNPrintF(Vector<char>(buffer, ARRAY_SIZE(buffer)), |
+ "Failed to GetChild: %s", name); |
FATAL(buffer); |
} |
return result; |