| Index: Source/core/editing/htmlediting.cpp
|
| diff --git a/Source/core/editing/htmlediting.cpp b/Source/core/editing/htmlediting.cpp
|
| index 8a7e6489cb870b7571f086a2a1c4f2130624c999..7802074a6e2e2712a3684b3390d4c7e6f445d5fc 100644
|
| --- a/Source/core/editing/htmlediting.cpp
|
| +++ b/Source/core/editing/htmlediting.cpp
|
| @@ -97,7 +97,7 @@ int comparePositions(const Position& a, const Position& b)
|
| bias = 1;
|
| }
|
|
|
| - int result = Range::compareBoundaryPoints(nodeA, offsetA, nodeB, offsetB, IGNORE_EXCEPTION_STATE);
|
| + int result = Range::compareBoundaryPoints(nodeA, offsetA, nodeB, offsetB, IGNORE_EXCEPTION);
|
| return result ? result : bias;
|
| }
|
|
|
| @@ -897,7 +897,7 @@ PassRefPtr<Element> createTabSpanElement(Document* document, PassRefPtr<Node> pr
|
| if (!tabTextNode)
|
| tabTextNode = document->createEditingTextNode("\t");
|
|
|
| - spanElement->appendChild(tabTextNode.release(), ASSERT_NO_EXCEPTION_STATE);
|
| + spanElement->appendChild(tabTextNode.release(), ASSERT_NO_EXCEPTION);
|
|
|
| return spanElement.release();
|
| }
|
| @@ -1091,7 +1091,7 @@ bool isNodeVisiblyContainedWithin(Node* node, const Range* selectedRange)
|
| ASSERT(node);
|
| ASSERT(selectedRange);
|
| // If the node is inside the range, then it surely is contained within
|
| - if (selectedRange->compareNode(node, IGNORE_EXCEPTION_STATE) == Range::NODE_INSIDE)
|
| + if (selectedRange->compareNode(node, IGNORE_EXCEPTION) == Range::NODE_INSIDE)
|
| return true;
|
|
|
| bool startIsVisuallySame = visiblePositionBeforeNode(node) == selectedRange->startPosition();
|
|
|