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

Unified Diff: utils/apidoc/apidoc.dart

Issue 11361190: a === b -> identical(a, b) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 8 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 | « tools/testing/legpad/legpad.dart ('k') | utils/apidoc/html_diff.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « tools/testing/legpad/legpad.dart ('k') | utils/apidoc/html_diff.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698