| Index: runtime/vm/profiler_service.cc
|
| diff --git a/runtime/vm/profiler_service.cc b/runtime/vm/profiler_service.cc
|
| index 8152884af71fa9c94c5dac6d55f7bedd374717ac..92ee64706da144cfacf1d6d3607150d658642283 100644
|
| --- a/runtime/vm/profiler_service.cc
|
| +++ b/runtime/vm/profiler_service.cc
|
| @@ -555,12 +555,12 @@ ProfileFunction* ProfileCode::SetFunctionAndName(ProfileFunctionTable* table) {
|
| ASSERT(!code_.IsNull());
|
| const Object& obj = Object::Handle(code_.owner());
|
| if (obj.IsFunction()) {
|
| - const String& user_name = String::Handle(code_.PrettyName());
|
| + const String& user_name = String::Handle(code_.UserVisibleName());
|
| function = table->LookupOrAdd(Function::Cast(obj));
|
| SetName(user_name.ToCString());
|
| } else {
|
| // A stub.
|
| - const String& user_name = String::Handle(code_.PrettyName());
|
| + const String& user_name = String::Handle(code_.UserVisibleName());
|
| function = table->AddStub(start(), user_name.ToCString());
|
| SetName(user_name.ToCString());
|
| }
|
|
|