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

Unified Diff: third_party/WebKit/Source/core/editing/commands/MergeIdenticalElementsCommand.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/MergeIdenticalElementsCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/MergeIdenticalElementsCommand.cpp b/third_party/WebKit/Source/core/editing/commands/MergeIdenticalElementsCommand.cpp
index 5ecedc2dbf0fa8e7172de8360c1c5a5524c1fbc5..cf9cbb6b5f453408580f74229f9558ebf10f55ce 100644
--- a/third_party/WebKit/Source/core/editing/commands/MergeIdenticalElementsCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/MergeIdenticalElementsCommand.cpp
@@ -51,11 +51,12 @@ void MergeIdenticalElementsCommand::doApply(EditingState*) {
NodeVector children;
getChildNodes(*m_element1, children);
- for (auto& child : children)
+ for (auto& child : children) {
m_element2->insertBefore(child.release(), m_atChild.get(),
- IGNORE_EXCEPTION);
+ IGNORE_EXCEPTION_FOR_TESTING);
+ }
- m_element1->remove(IGNORE_EXCEPTION);
+ m_element1->remove(IGNORE_EXCEPTION_FOR_TESTING);
}
void MergeIdenticalElementsCommand::doUnapply() {

Powered by Google App Engine
This is Rietveld 408576698