| Index: utils/apidoc/apidoc.dart
|
| diff --git a/utils/apidoc/apidoc.dart b/utils/apidoc/apidoc.dart
|
| index 785c497b46fe6438e93d9e7dd7a7b360af234185..065d84ac109cf2826fa755cb22d829b1c7f9c631 100644
|
| --- a/utils/apidoc/apidoc.dart
|
| +++ b/utils/apidoc/apidoc.dart
|
| @@ -413,13 +413,13 @@ class Apidoc extends doc.Dartdoc {
|
| doc.DocComment fileComment,
|
| doc.DocComment handWrittenComment) {
|
| // Prefer the hand-written comment first.
|
| - if (handWrittenComment !== null) return handWrittenComment;
|
| + if (handWrittenComment != null) return handWrittenComment;
|
|
|
| // Otherwise, prefer comment from the (possibly generated) Dart file.
|
| - if (fileComment !== null) return fileComment;
|
| + if (fileComment != null) return fileComment;
|
|
|
| // Finally, fallback on MDN if available.
|
| - if (mdnComment !== null) {
|
| + if (mdnComment != null) {
|
| mdnUrl = mdnComment.mdnUrl;
|
| return mdnComment;
|
| }
|
|
|