| Index: runtime/bin/vmservice/client/lib/src/elements/function_view.dart
|
| diff --git a/runtime/bin/vmservice/client/lib/src/elements/function_view.dart b/runtime/bin/vmservice/client/lib/src/elements/function_view.dart
|
| index 66f1380259c5cf4ae3c92ffbb45f06f112a50b98..3f94ce405ff5a5d0bc03f080122604ff183a5f04 100644
|
| --- a/runtime/bin/vmservice/client/lib/src/elements/function_view.dart
|
| +++ b/runtime/bin/vmservice/client/lib/src/elements/function_view.dart
|
| @@ -26,14 +26,13 @@ class FunctionViewElement extends ObservatoryElement {
|
| return "${_getQualifiedName(parent)}.${function['user_name']}";
|
| }
|
| var cls = (function != null &&
|
| - function['class'] != null &&
|
| - function['class']['user_name'] != null &&
|
| - function['class']['user_name'] != '::'
|
| - ? function['class'] : null);
|
| + function['owner'] != null &&
|
| + function['owner'].serviceType == 'Class'
|
| + ? function['owner'] : null);
|
| if (cls != null) {
|
| return "${cls['user_name']}.${function['user_name']}";
|
| }
|
| - return "${function['username']}";
|
| + return "${function['user_name']}";
|
| }
|
|
|
| void functionChanged(oldValue) {
|
|
|