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

Unified Diff: third_party/WebKit/Source/core/editing/commands/WrapContentsInDummySpanCommand.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/WrapContentsInDummySpanCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/WrapContentsInDummySpanCommand.cpp b/third_party/WebKit/Source/core/editing/commands/WrapContentsInDummySpanCommand.cpp
index fd95b9267e4db7baddf8772889dd2fd9addbea4f..7b2626d75572b05b3f4007661f17e2d8e63bdcde 100644
--- a/third_party/WebKit/Source/core/editing/commands/WrapContentsInDummySpanCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/WrapContentsInDummySpanCommand.cpp
@@ -42,9 +42,9 @@ void WrapContentsInDummySpanCommand::executeApply() {
getChildNodes(*m_element, children);
for (auto& child : children)
- m_dummySpan->appendChild(child.release(), IGNORE_EXCEPTION);
+ m_dummySpan->appendChild(child.release(), IGNORE_EXCEPTION_FOR_TESTING);
- m_element->appendChild(m_dummySpan.get(), IGNORE_EXCEPTION);
+ m_element->appendChild(m_dummySpan.get(), IGNORE_EXCEPTION_FOR_TESTING);
}
void WrapContentsInDummySpanCommand::doApply(EditingState*) {
@@ -63,9 +63,9 @@ void WrapContentsInDummySpanCommand::doUnapply() {
getChildNodes(*m_dummySpan, children);
for (auto& child : children)
- m_element->appendChild(child.release(), IGNORE_EXCEPTION);
+ m_element->appendChild(child.release(), IGNORE_EXCEPTION_FOR_TESTING);
- m_dummySpan->remove(IGNORE_EXCEPTION);
+ m_dummySpan->remove(IGNORE_EXCEPTION_FOR_TESTING);
}
void WrapContentsInDummySpanCommand::doReapply() {

Powered by Google App Engine
This is Rietveld 408576698