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

Unified Diff: utils/css/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/css/parser.dart ('k') | utils/peg/pegparser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/css/tokenizer_base.dart
diff --git a/utils/css/tokenizer_base.dart b/utils/css/tokenizer_base.dart
index df270f42c383658304c55d4880caeed6e89fa859..af666b45719dd0d812977f8dd1475c2f5ada09b0 100644
--- a/utils/css/tokenizer_base.dart
+++ b/utils/css/tokenizer_base.dart
@@ -180,7 +180,7 @@ class CSSTokenizerBase 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 CSSTokenizerBase 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/css/parser.dart ('k') | utils/peg/pegparser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698