| Index: Source/core/dom/Text.cpp
|
| diff --git a/Source/core/dom/Text.cpp b/Source/core/dom/Text.cpp
|
| index dce6f091728e45bffcf04321cff1ad73e404231f..3fd32364843676a31b0fbc17ad60b47cef080e33 100644
|
| --- a/Source/core/dom/Text.cpp
|
| +++ b/Source/core/dom/Text.cpp
|
| @@ -155,7 +155,7 @@ PassRefPtr<Text> Text::replaceWholeText(const String& newText)
|
| for (RefPtr<Node> n = startText; n && n != this && n->isTextNode() && n->parentNode() == parent;) {
|
| RefPtr<Node> nodeToRemove(n.release());
|
| n = nodeToRemove->nextSibling();
|
| - parent->removeChild(nodeToRemove.get(), IGNORE_EXCEPTION_STATE);
|
| + parent->removeChild(nodeToRemove.get(), IGNORE_EXCEPTION);
|
| }
|
|
|
| if (this != endText) {
|
| @@ -163,13 +163,13 @@ PassRefPtr<Text> Text::replaceWholeText(const String& newText)
|
| for (RefPtr<Node> n = nextSibling(); n && n != onePastEndText && n->isTextNode() && n->parentNode() == parent;) {
|
| RefPtr<Node> nodeToRemove(n.release());
|
| n = nodeToRemove->nextSibling();
|
| - parent->removeChild(nodeToRemove.get(), IGNORE_EXCEPTION_STATE);
|
| + parent->removeChild(nodeToRemove.get(), IGNORE_EXCEPTION);
|
| }
|
| }
|
|
|
| if (newText.isEmpty()) {
|
| if (parent && parentNode() == parent)
|
| - parent->removeChild(this, IGNORE_EXCEPTION_STATE);
|
| + parent->removeChild(this, IGNORE_EXCEPTION);
|
| return 0;
|
| }
|
|
|
|
|