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

Unified Diff: third_party/WebKit/Source/core/dom/ContainerNode.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/dom/ContainerNode.cpp
diff --git a/third_party/WebKit/Source/core/dom/ContainerNode.cpp b/third_party/WebKit/Source/core/dom/ContainerNode.cpp
index 9247542f8a9b558d4adf342dcc43abcd401a4896..f5c16a1a367698d9dd5ffded0a5a7b7b0402b9e8 100644
--- a/third_party/WebKit/Source/core/dom/ContainerNode.cpp
+++ b/third_party/WebKit/Source/core/dom/ContainerNode.cpp
@@ -347,7 +347,8 @@ bool ContainerNode::checkParserAcceptChild(const Node& newChild) const {
return true;
// TODO(esprehn): Are there other conditions where the parser can create
// invalid trees?
- return toDocument(*this).canAcceptChild(newChild, nullptr, IGNORE_EXCEPTION);
+ return toDocument(*this).canAcceptChild(newChild, nullptr,
+ IGNORE_EXCEPTION_FOR_TESTING);
}
void ContainerNode::parserInsertBefore(Node* newChild, Node& nextChild) {
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/ExceptionState.h ('k') | third_party/WebKit/Source/core/dom/Range.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698