| Index: third_party/WebKit/Source/core/css/CSSSelectorList.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/CSSSelectorList.cpp b/third_party/WebKit/Source/core/css/CSSSelectorList.cpp
|
| index 3af0331d4de6e3511d0f4ab04f116e8fecdd0721..7cac8c8734fca7f7557048875b940980b9a2da81 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSSelectorList.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSSelectorList.cpp
|
| @@ -44,7 +44,7 @@ namespace blink {
|
| CSSSelectorList CSSSelectorList::copy() const {
|
| CSSSelectorList list;
|
|
|
| - unsigned length = this->length();
|
| + unsigned length = this->computeLength();
|
| list.m_selectorArray =
|
| reinterpret_cast<CSSSelector*>(WTF::Partitions::fastMalloc(
|
| sizeof(CSSSelector) * length, kCSSSelectorTypeName));
|
| @@ -94,7 +94,7 @@ CSSSelectorList CSSSelectorList::adoptSelectorVector(
|
| return list;
|
| }
|
|
|
| -unsigned CSSSelectorList::length() const {
|
| +unsigned CSSSelectorList::computeLength() const {
|
| if (!m_selectorArray)
|
| return 0;
|
| CSSSelector* current = m_selectorArray;
|
|
|