| Index: test/cctest/test-cpu-profiler.cc
|
| diff --git a/test/cctest/test-cpu-profiler.cc b/test/cctest/test-cpu-profiler.cc
|
| index 24c84c3df82c6340ab9fceadddacf7cc6b1fd7bb..688e7fc266ca25768f7986e98b964d0e97768b0b 100644
|
| --- a/test/cctest/test-cpu-profiler.cc
|
| +++ b/test/cctest/test-cpu-profiler.cc
|
| @@ -461,8 +461,7 @@ static const v8::CpuProfileNode* GetChild(v8::Local<v8::Context> context,
|
| const v8::CpuProfileNode* result = FindChild(context, node, name);
|
| if (!result) {
|
| char buffer[100];
|
| - i::SNPrintF(Vector<char>(buffer, arraysize(buffer)),
|
| - "Failed to GetChild: %s", name);
|
| + i::SNPrintF(i::ArrayVector(buffer), "Failed to GetChild: %s", name);
|
| FATAL(buffer);
|
| }
|
| return result;
|
|
|