| Index: Source/core/svg/animation/SVGSMILElement.cpp
|
| diff --git a/Source/core/svg/animation/SVGSMILElement.cpp b/Source/core/svg/animation/SVGSMILElement.cpp
|
| index 2e852a6e0f5aa83046e86d9ac29be22443a2a275..433b73c377c5cd55a6cbe5a9e0f67f18ed463086 100644
|
| --- a/Source/core/svg/animation/SVGSMILElement.cpp
|
| +++ b/Source/core/svg/animation/SVGSMILElement.cpp
|
| @@ -377,7 +377,7 @@ SMILTime SVGSMILElement::parseClockValue(const String& data)
|
| if (!ok)
|
| return SMILTime::unresolved();
|
| result += parse.substring(6).toDouble(&ok);
|
| - } else if (doublePointOne == 2 && doublePointTwo == notFound && parse.length() >= 5) {
|
| + } else if (doublePointOne == 2 && doublePointTwo == kNotFound && parse.length() >= 5) {
|
| result += parse.substring(0, 2).toUIntStrict(&ok) * 60;
|
| if (!ok)
|
| return SMILTime::unresolved();
|
| @@ -402,14 +402,14 @@ bool SVGSMILElement::parseCondition(const String& value, BeginOrEnd beginOrEnd)
|
| double sign = 1.;
|
| bool ok;
|
| size_t pos = parseString.find('+');
|
| - if (pos == notFound) {
|
| + if (pos == kNotFound) {
|
| pos = parseString.find('-');
|
| - if (pos != notFound)
|
| + if (pos != kNotFound)
|
| sign = -1.;
|
| }
|
| String conditionString;
|
| SMILTime offset = 0;
|
| - if (pos == notFound)
|
| + if (pos == kNotFound)
|
| conditionString = parseString;
|
| else {
|
| conditionString = parseString.left(pos).stripWhiteSpace();
|
| @@ -425,7 +425,7 @@ bool SVGSMILElement::parseCondition(const String& value, BeginOrEnd beginOrEnd)
|
|
|
| String baseID;
|
| String nameString;
|
| - if (pos == notFound)
|
| + if (pos == kNotFound)
|
| nameString = conditionString;
|
| else {
|
| baseID = conditionString.left(pos);
|
|
|