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

Unified Diff: third_party/WebKit/Source/core/editing/commands/AppendNodeCommand.cpp

Issue 2615953003: Rename IGNORE_EXCEPTION to IGNORE_EXCEPTION_FOR_TESTING (Closed)
Patch Set: 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/editing/commands/AppendNodeCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/AppendNodeCommand.cpp b/third_party/WebKit/Source/core/editing/commands/AppendNodeCommand.cpp
index 4ab1bd4e109f44fb3e2e4416df7224e9c05c908e..4a8499afed0ad1f027755ec1d39f6c41196bacdc 100644
--- a/third_party/WebKit/Source/core/editing/commands/AppendNodeCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/AppendNodeCommand.cpp
@@ -44,14 +44,14 @@ void AppendNodeCommand::doApply(EditingState*) {
if (!hasEditableStyle(*m_parent) && m_parent->inActiveDocument())
return;
- m_parent->appendChild(m_node.get(), IGNORE_EXCEPTION);
+ m_parent->appendChild(m_node.get(), IGNORE_EXCEPTION_FOR_TESTING);
}
void AppendNodeCommand::doUnapply() {
if (!hasEditableStyle(*m_parent))
return;
- m_node->remove(IGNORE_EXCEPTION);
+ m_node->remove(IGNORE_EXCEPTION_FOR_TESTING);
}
DEFINE_TRACE(AppendNodeCommand) {

Powered by Google App Engine
This is Rietveld 408576698