| Index: runtime/observatory/lib/src/elements/function_ref_wrapper.dart
|
| diff --git a/runtime/observatory/lib/src/elements/function_ref_wrapper.dart b/runtime/observatory/lib/src/elements/function_ref_wrapper.dart
|
| index e41e43a77eace2ab16dd80a667370606d4c6f7b6..dbde8270bc78db33168d4dc3beaeb2616370cf22 100644
|
| --- a/runtime/observatory/lib/src/elements/function_ref_wrapper.dart
|
| +++ b/runtime/observatory/lib/src/elements/function_ref_wrapper.dart
|
| @@ -21,10 +21,18 @@ class FunctionRefElementWrapper extends HtmlElement {
|
|
|
| bool _qualified = true;
|
| ServiceFunction _function;
|
| +
|
| bool get qualified => _qualified;
|
| ServiceFunction get ref => _function;
|
| - void set qualified(bool qualified) { _qualified = qualified; render(); }
|
| - void set ref(ServiceFunction ref) { _function = ref; render(); }
|
| +
|
| + void set qualified(bool value) {
|
| + _qualified = value;
|
| + render();
|
| + }
|
| + void set ref(ServiceFunction value) {
|
| + _function = value;
|
| + render();
|
| + }
|
|
|
| FunctionRefElementWrapper.created() : super.created() {
|
| binder.registerCallback(this);
|
| @@ -40,7 +48,9 @@ class FunctionRefElementWrapper extends HtmlElement {
|
|
|
| void render() {
|
| shadowRoot.children = [];
|
| - if (ref == null) return;
|
| + if (ref == null) {
|
| + return;
|
| + }
|
|
|
| shadowRoot.children = [
|
| new StyleElement()
|
|
|