| Index: test/cctest/test-debug.cc
|
| diff --git a/test/cctest/test-debug.cc b/test/cctest/test-debug.cc
|
| index 5c0b0f392d55435d57effdd6ba082af0c5f85b3d..2573d332f792e737d7686c5f82e92031e0933e84 100644
|
| --- a/test/cctest/test-debug.cc
|
| +++ b/test/cctest/test-debug.cc
|
| @@ -4264,9 +4264,10 @@ static void IndexedEnum(const v8::PropertyCallbackInfo<v8::Array>& info) {
|
| }
|
|
|
|
|
| -static void NamedGetter(v8::Local<v8::String> name,
|
| +static void NamedGetter(v8::Local<v8::Name> name,
|
| const v8::PropertyCallbackInfo<v8::Value>& info) {
|
| - v8::String::Utf8Value n(name);
|
| + if (name->IsSymbol()) return;
|
| + v8::String::Utf8Value n(v8::Local<v8::String>::Cast(name));
|
| if (strcmp(*n, "a") == 0) {
|
| info.GetReturnValue().Set(v8::String::NewFromUtf8(info.GetIsolate(), "AA"));
|
| return;
|
|
|