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

Unified Diff: pkg/csslib/lib/src/css_printer.dart

Issue 64373003: pkg/csslib: types, fixes, cleanup (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: more Created 7 years, 1 month 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/csslib/bin/css.dart ('k') | pkg/csslib/lib/src/tree.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/csslib/lib/src/css_printer.dart
diff --git a/pkg/csslib/lib/src/css_printer.dart b/pkg/csslib/lib/src/css_printer.dart
index b532544ccc4e6155e1961fc559375882d18bb69a..73c29845179cee1f919cd7feb6367db693465f91 100644
--- a/pkg/csslib/lib/src/css_printer.dart
+++ b/pkg/csslib/lib/src/css_printer.dart
@@ -137,7 +137,7 @@ class CssPrinter extends Visitor {
void visitKeyFrameDirective(KeyFrameDirective node) {
emit('$_newLine${node.keyFrameName} ');
- node._name.visit(this);
+ node.name.visit(this);
emit('$_sp{$_newLine');
for (final block in node._blocks) {
block.visit(this);
@@ -274,7 +274,7 @@ class CssPrinter extends Visitor {
void visitSelectorGroup(SelectorGroup node) {
- var selectors = node._selectors;
+ var selectors = node.selectors;
var selectorsLength = selectors.length;
for (var i = 0; i < selectorsLength; i++) {
if (i > 0) emit(',$_sp');
@@ -284,7 +284,7 @@ class CssPrinter extends Visitor {
void visitSimpleSelectorSequence(SimpleSelectorSequence node) {
emit('${node._combinatorToString}');
- node._selector.visit(this);
+ node.simpleSelector.visit(this);
}
void visitSimpleSelector(SimpleSelector node) {
« no previous file with comments | « pkg/csslib/bin/css.dart ('k') | pkg/csslib/lib/src/tree.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698