Index: runtime/observatory/lib/src/elements/code_ref_wrapper.dart |
diff --git a/runtime/observatory/lib/src/elements/code_ref_wrapper.dart b/runtime/observatory/lib/src/elements/code_ref_wrapper.dart |
index 503a784ca03e23009c04be49611879f9aa8fb13b..f630f33a7aa2c57817e98110dcf0cc0517fba6b4 100644 |
--- a/runtime/observatory/lib/src/elements/code_ref_wrapper.dart |
+++ b/runtime/observatory/lib/src/elements/code_ref_wrapper.dart |
@@ -20,8 +20,13 @@ class CodeRefElementWrapper extends HtmlElement { |
static const tag = const Tag<CodeRefElementWrapper>('code-ref'); |
Code _code; |
+ |
Code get ref => _code; |
- void set ref(Code ref) { _code = ref; render(); } |
+ |
+ void set ref(Code value) { |
+ _code = value; |
+ render(); |
+ } |
CodeRefElementWrapper.created() : super.created() { |
binder.registerCallback(this); |
@@ -37,7 +42,9 @@ class CodeRefElementWrapper extends HtmlElement { |
void render() { |
shadowRoot.children = []; |
- if (ref == null) return; |
+ if (ref == null) { |
+ return; |
+ } |
shadowRoot.children = [ |
new StyleElement() |