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

Unified Diff: utils/template/tokenizer_base.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 | « utils/template/parser.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/template/tokenizer_base.dart
diff --git a/utils/template/tokenizer_base.dart b/utils/template/tokenizer_base.dart
index d8862b92c837156de0d70dac035766c996f3a554..65b96cdab2f370a7dec1dca994a8641425a458fc 100644
--- a/utils/template/tokenizer_base.dart
+++ b/utils/template/tokenizer_base.dart
@@ -180,7 +180,7 @@ class TokenizerBase extends TokenizerHelpers implements TokenSource {
int readHex([int hexLength]) {
int maxIndex;
- if (hexLength === null) {
+ if (hexLength == null) {
maxIndex = _text.length - 1;
} else {
// TODO(jimhug): What if this is too long?
@@ -191,7 +191,7 @@ class TokenizerBase extends TokenizerHelpers implements TokenSource {
while (_index < maxIndex) {
final digit = _hexDigit(_text.charCodeAt(_index));
if (digit == -1) {
- if (hexLength === null) {
+ if (hexLength == null) {
return result;
} else {
return -1;
« no previous file with comments | « utils/template/parser.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698