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

Unified Diff: lib/src/observable_transform.dart

Issue 23513017: Fixes needed in webui for sdk 7.1.0 (Closed) Base URL: git@github.com:dart-lang/web-ui.git@master
Patch Set: Created 7 years, 3 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 | « no previous file | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/observable_transform.dart
diff --git a/lib/src/observable_transform.dart b/lib/src/observable_transform.dart
index 66ef7b014cba44b6059f200d9d4892083a26e277..82f8fd02559d29894a3f5c2d9a4ff263514b0773 100644
--- a/lib/src/observable_transform.dart
+++ b/lib/src/observable_transform.dart
@@ -125,10 +125,9 @@ void transformTopLevelField(TopLevelVariableDeclaration field,
void transformClassFields(FieldDeclaration member, TextEditTransaction code,
Set<String> instanceFields, Set<String> staticFields) {
- bool isStatic = hasKeyword(member.keyword, Keyword.STATIC);
transformFields(member.fields, code, member.offset, member.end,
- isStatic: isStatic,
- changedFields: isStatic ? staticFields : instanceFields);
+ isStatic: member.isStatic,
+ changedFields: member.isStatic ? staticFields : instanceFields);
}
« no previous file with comments | « no previous file | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698