| Index: Source/core/dom/Node.cpp
|
| diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
|
| index 321ea3a8751267b3309868c90aa5d2dfc3cde407..076900dd854f41e8a773dcca1b629acc0b3d2c6e 100644
|
| --- a/Source/core/dom/Node.cpp
|
| +++ b/Source/core/dom/Node.cpp
|
| @@ -578,7 +578,7 @@ void Node::normalize()
|
| if (!text->length()) {
|
| // Care must be taken to get the next node before removing the current node.
|
| node = NodeTraversal::nextPostOrder(node.get());
|
| - text->remove(IGNORE_EXCEPTION_STATE);
|
| + text->remove(IGNORE_EXCEPTION);
|
| continue;
|
| }
|
|
|
| @@ -590,7 +590,7 @@ void Node::normalize()
|
|
|
| // Remove empty text nodes.
|
| if (!nextText->length()) {
|
| - nextText->remove(IGNORE_EXCEPTION_STATE);
|
| + nextText->remove(IGNORE_EXCEPTION);
|
| continue;
|
| }
|
|
|
| @@ -598,7 +598,7 @@ void Node::normalize()
|
| unsigned offset = text->length();
|
| text->appendData(nextText->data());
|
| document()->textNodesMerged(nextText.get(), offset);
|
| - nextText->remove(IGNORE_EXCEPTION_STATE);
|
| + nextText->remove(IGNORE_EXCEPTION);
|
| }
|
|
|
| node = NodeTraversal::nextPostOrder(node.get());
|
| @@ -2585,7 +2585,7 @@ void Node::removedLastRef()
|
| void Node::textRects(Vector<IntRect>& rects) const
|
| {
|
| RefPtr<Range> range = Range::create(document());
|
| - range->selectNodeContents(const_cast<Node*>(this), IGNORE_EXCEPTION_STATE);
|
| + range->selectNodeContents(const_cast<Node*>(this), IGNORE_EXCEPTION);
|
| range->textRects(rects);
|
| }
|
|
|
|
|