Index: third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp b/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp |
index ca15330632e372669efb2e335dab3cea321043f9..8f801256185cd14fe8c6398aae968acc2eede131 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp |
@@ -473,7 +473,7 @@ void HTMLTextAreaElement::setDefaultValue(const String& defaultValue) { |
textNodes.push_back(n); |
} |
for (const auto& text : textNodes) |
- removeChild(text.get(), IGNORE_EXCEPTION); |
+ removeChild(text.get(), IGNORE_EXCEPTION_FOR_TESTING); |
// Normalize line endings. |
String value = defaultValue; |
@@ -481,7 +481,7 @@ void HTMLTextAreaElement::setDefaultValue(const String& defaultValue) { |
value.replace('\r', '\n'); |
insertBefore(document().createTextNode(value), firstChild(), |
- IGNORE_EXCEPTION); |
+ IGNORE_EXCEPTION_FOR_TESTING); |
if (!m_isDirty) |
setNonDirtyValue(value); |