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

Unified Diff: pkg/mdv/test/mdv_test_utils.dart

Issue 26734004: use symbol literals instead of const ctor in packages (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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
« no previous file with comments | « pkg/mdv/test/element_bindings_test.dart ('k') | pkg/mdv/test/node_bindings_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/mdv/test/mdv_test_utils.dart
diff --git a/pkg/mdv/test/mdv_test_utils.dart b/pkg/mdv/test/mdv_test_utils.dart
index 3033fba0df11bcc4cf0b0eda2d95e28daf81784c..2d449cfeaa7258f08b10852d241cb28be5a3f7d1 100644
--- a/pkg/mdv/test/mdv_test_utils.dart
+++ b/pkg/mdv/test/mdv_test_utils.dart
@@ -54,12 +54,12 @@ class FooBarNotifyModel extends ChangeNotifierBase implements FooBarModel {
get foo => _foo;
set foo(value) {
- _foo = notifyPropertyChange(const Symbol('foo'), _foo, value);
+ _foo = notifyPropertyChange(#foo, _foo, value);
}
get bar => _bar;
set bar(value) {
- _bar = notifyPropertyChange(const Symbol('bar'), _bar, value);
+ _bar = notifyPropertyChange(#bar, _bar, value);
}
}
« no previous file with comments | « pkg/mdv/test/element_bindings_test.dart ('k') | pkg/mdv/test/node_bindings_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698