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

Unified Diff: third_party/WebKit/Source/core/editing/commands/InsertIntoTextNodeCommand.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/editing/commands/InsertIntoTextNodeCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/InsertIntoTextNodeCommand.cpp b/third_party/WebKit/Source/core/editing/commands/InsertIntoTextNodeCommand.cpp
index 008dfbcb9b7475f3c3aac399068c10e08a4fc9e0..1c470e02411be25118b5135c1d47590aa9acadb0 100644
--- a/third_party/WebKit/Source/core/editing/commands/InsertIntoTextNodeCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/InsertIntoTextNodeCommand.cpp
@@ -62,7 +62,7 @@ void InsertIntoTextNodeCommand::doApply(EditingState*) {
m_text.length() - 1);
}
- m_node->insertData(m_offset, m_text, IGNORE_EXCEPTION);
+ m_node->insertData(m_offset, m_text, IGNORE_EXCEPTION_FOR_TESTING);
document().updateStyleAndLayout();
}
@@ -70,7 +70,7 @@ void InsertIntoTextNodeCommand::doUnapply() {
if (!hasEditableStyle(*m_node))
return;
- m_node->deleteData(m_offset, m_text.length(), IGNORE_EXCEPTION);
+ m_node->deleteData(m_offset, m_text.length(), IGNORE_EXCEPTION_FOR_TESTING);
document().updateStyleAndLayout();
}

Powered by Google App Engine
This is Rietveld 408576698