| Index: third_party/WebKit/Source/core/html/parser/AtomicHTMLToken.h
|
| diff --git a/third_party/WebKit/Source/core/html/parser/AtomicHTMLToken.h b/third_party/WebKit/Source/core/html/parser/AtomicHTMLToken.h
|
| index 514c955371ce1f188dc82fb2adcaf0607febe8eb..fb6d1a081c8ad8f9883b56a94adf8a29e09e7fb9 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/AtomicHTMLToken.h
|
| +++ b/third_party/WebKit/Source/core/html/parser/AtomicHTMLToken.h
|
| @@ -222,8 +222,7 @@ inline void AtomicHTMLToken::initializeAttributes(
|
|
|
| m_attributes.clear();
|
| m_attributes.reserveInitialCapacity(size);
|
| - for (size_t i = 0; i < size; ++i) {
|
| - const HTMLToken::Attribute& attribute = attributes[i];
|
| + for (const auto& attribute : attributes) {
|
| if (attribute.nameAsVector().isEmpty())
|
| continue;
|
|
|
|
|