| 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 047e339cba3e817a5c7eb056291cb3d2776f7584..7a6688b1a524f0d35371390cd52e2ea488d15955 100644
 | 
| --- a/third_party/WebKit/Source/core/dom/Element.cpp
 | 
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp
 | 
| @@ -1343,9 +1343,7 @@ static inline ClassStringContent classStringHasClassName(
 | 
|      ++i;
 | 
|    } while (i < length);
 | 
|  
 | 
| -  if (i == length && length == 1)
 | 
| -    return ClassStringContent::Empty;
 | 
| -  if (i == length && length > 1)
 | 
| +  if (i == length && length >= 1)
 | 
|      return ClassStringContent::WhiteSpaceOnly;
 | 
|  
 | 
|    return ClassStringContent::HasClasses;
 | 
| 
 |