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

Unified Diff: tools/dom/src/chrome/utils.dart

Issue 14400004: First try at removing ? from HTML. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Made positional arguments make more sense, Created 7 years, 8 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: tools/dom/src/chrome/utils.dart
diff --git a/tools/dom/src/chrome/utils.dart b/tools/dom/src/chrome/utils.dart
index 57a6b68efdfde3dd451d0f349591b6c5969088a3..b88019cf45c65393fd1710511d64150fe6d9275e 100644
--- a/tools/dom/src/chrome/utils.dart
+++ b/tools/dom/src/chrome/utils.dart
@@ -227,7 +227,7 @@ class Event {
[void callback(List<Rule> rules)]) {
// proxy the callback
void __proxy_callback(List rules) {
- if (?callback) {
+ if (callback != null) {
List<Rule> __proxy_rules = new List<Rule>();
for (Object o in rules)
@@ -256,7 +256,7 @@ class Event {
void callback(List<Rule> rules)]) {
// proxy the callback
void __proxy_callback(List rules) {
- if (?callback) {
+ if (callback != null) {
List<Rule> __proxy_rules = new List<Rule>();
for (Object o in rules)

Powered by Google App Engine
This is Rietveld 408576698