Chromium Code Reviews| Index: runtime/vm/object.cc |
| diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
| index a887e638f2e6469d99e0d39247b718f4afdab03b..c95f808e2f915c556e57c9761a5f4ee0953514ac 100644 |
| --- a/runtime/vm/object.cc |
| +++ b/runtime/vm/object.cc |
| @@ -5360,7 +5360,7 @@ bool String::Equals(const char* str) const { |
| } |
| str += consumed; |
| } |
| - return true; |
| + return *str == '\0'; |
| } |