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

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

Issue 106503002: Let Node.textContent never throw (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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
« no previous file with comments | « Source/core/html/HTMLOutputElement.cpp ('k') | Source/core/html/forms/TextFieldInputType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLTextAreaElement.cpp
diff --git a/Source/core/html/HTMLTextAreaElement.cpp b/Source/core/html/HTMLTextAreaElement.cpp
index 1b9253a576f4482752aa640608e04316d99b051f..ca7494e2af66a18277441ae63eb6d0782f2db1b7 100644
--- a/Source/core/html/HTMLTextAreaElement.cpp
+++ b/Source/core/html/HTMLTextAreaElement.cpp
@@ -524,7 +524,7 @@ void HTMLTextAreaElement::updatePlaceholderText()
placeholder->setAttribute(idAttr, ShadowElementNames::placeholder());
userAgentShadowRoot()->insertBefore(placeholder, innerTextElement()->nextSibling());
}
- placeholder->setTextContent(placeholderText, ASSERT_NO_EXCEPTION);
+ placeholder->setTextContent(placeholderText);
}
bool HTMLTextAreaElement::isInteractiveContent() const
« no previous file with comments | « Source/core/html/HTMLOutputElement.cpp ('k') | Source/core/html/forms/TextFieldInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698