Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1401)

Unified Diff: runtime/observatory/lib/src/elements/function_ref_wrapper.dart

Issue 2211603002: Centralized event streams (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Merged with master Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()
« no previous file with comments | « runtime/observatory/lib/src/elements/function_ref.dart ('k') | runtime/observatory/lib/src/elements/isolate_ref.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698