| Index: Source/core/css/CSSSelector.cpp
|
| diff --git a/Source/core/css/CSSSelector.cpp b/Source/core/css/CSSSelector.cpp
|
| index a0cc26e99a1c6d0ad41c038f6710dec9e25e14ce..e97024769da35798a5cc965ea80a05c96f0b78e3 100644
|
| --- a/Source/core/css/CSSSelector.cpp
|
| +++ b/Source/core/css/CSSSelector.cpp
|
| @@ -889,7 +889,7 @@ bool CSSSelector::RareData::parseNth()
|
| m_b = 0;
|
| } else {
|
| size_t n = argument.find('n');
|
| - if (n != notFound) {
|
| + if (n != kNotFound) {
|
| if (argument[0] == '-') {
|
| if (n == 1)
|
| m_a = -1; // -n == -1n
|
| @@ -901,11 +901,11 @@ bool CSSSelector::RareData::parseNth()
|
| m_a = argument.substring(0, n).toInt();
|
|
|
| size_t p = argument.find('+', n);
|
| - if (p != notFound)
|
| + if (p != kNotFound)
|
| m_b = argument.substring(p + 1, argument.length() - p - 1).toInt();
|
| else {
|
| p = argument.find('-', n);
|
| - if (p != notFound)
|
| + if (p != kNotFound)
|
| m_b = -argument.substring(p + 1, argument.length() - p - 1).toInt();
|
| }
|
| } else
|
|
|