Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Unified Diff: third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp

Issue 2615953003: Rename IGNORE_EXCEPTION to IGNORE_EXCEPTION_FOR_TESTING (Closed)
Patch Set: temp Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLTableElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLTitleElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698