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

Unified Diff: packages/csslib/lib/src/property.dart

Issue 1521693002: Roll Observatory deps (charted -> ^0.3.0) (Closed) Base URL: https://chromium.googlesource.com/external/github.com/dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years 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 | « packages/csslib/lib/src/polyfill.dart ('k') | packages/csslib/lib/src/tokenkind.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/csslib/lib/src/property.dart
diff --git a/packages/csslib/lib/src/property.dart b/packages/csslib/lib/src/property.dart
index 5d6dc14d191111d81d7fcca8d68930ac7a391c61..c2cf776af4df944f7046d21851b477935132fc4a 100644
--- a/packages/csslib/lib/src/property.dart
+++ b/packages/csslib/lib/src/property.dart
@@ -278,10 +278,11 @@ class Color implements _StyleProperty, ColorBase {
return new Hsla(args[0], args[1], args[2], args[3]).toHexArgbString();
default:
// Type not defined UnsupportedOperationException should have thrown.
- assert(true);
+ assert(false);
break;
}
}
+ return null;
}
static int hexToInt(String hex) => int.parse(hex, radix: 16);
@@ -785,6 +786,7 @@ class PointXY implements _StyleProperty {
String get cssExpression {
// TODO(terry): TBD
+ return null;
}
}
« no previous file with comments | « packages/csslib/lib/src/polyfill.dart ('k') | packages/csslib/lib/src/tokenkind.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698