Chromium Code Reviews| Index: third_party/WebKit/Source/core/dom/Element.cpp |
| diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp |
| index 9034a842ff08eed765667e4d3dfa4a467b18e33b..7aae320450f13bc6eb8e7cbec742a2cee3db762c 100644 |
| --- a/third_party/WebKit/Source/core/dom/Element.cpp |
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp |
| @@ -1240,7 +1240,7 @@ static inline bool classStringHasClassName(const CharacterType* characters, unsi |
| ++i; |
| } while (i < length); |
| - return i < length; |
| + return i <= length; |
|
tkent
2015/10/06 07:19:02
It means this function always returns |true|. Do y
|
| } |
| static inline bool classStringHasClassName(const AtomicString& newClassString) |