| Index: Source/core/dom/Range.cpp
|
| diff --git a/Source/core/dom/Range.cpp b/Source/core/dom/Range.cpp
|
| index cbae14b603c1734340bca934649856128d782046..ece8fdc3c37cb171b12a00d89119d721d83adbec 100644
|
| --- a/Source/core/dom/Range.cpp
|
| +++ b/Source/core/dom/Range.cpp
|
| @@ -314,7 +314,7 @@ Range::CompareResults Range::compareNode(Node* refNode, ExceptionState& exceptio
|
| return NODE_INSIDE; // ends inside the range
|
| }
|
|
|
| -short Range::compareBoundaryPoints(CompareHow how, const Range* sourceRange, ExceptionState& exceptionState) const
|
| +short Range::compareBoundaryPoints(unsigned how, const Range* sourceRange, ExceptionState& exceptionState) const
|
| {
|
| if (!(how == START_TO_START || how == START_TO_END || how == END_TO_END || how == END_TO_START)) {
|
| exceptionState.throwDOMException(NotSupportedError, "The comparison method provided must be one of 'START_TO_START', 'START_TO_END', 'END_TO_END', or 'END_TO_START'.");
|
|
|