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

Unified Diff: third_party/WebKit/Source/core/editing/commands/SplitElementCommand.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/SplitElementCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/SplitElementCommand.cpp b/third_party/WebKit/Source/core/editing/commands/SplitElementCommand.cpp
index cea76b1420611e349985b7dd0f94a792ab77d1b1..2e39da63a1baa622881c20b340dd8ff9bfff73cc 100644
--- a/third_party/WebKit/Source/core/editing/commands/SplitElementCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/SplitElementCommand.cpp
@@ -85,14 +85,14 @@ void SplitElementCommand::doUnapply() {
Node* refChild = m_element2->firstChild();
for (const auto& child : children)
- m_element2->insertBefore(child, refChild, IGNORE_EXCEPTION);
+ m_element2->insertBefore(child, refChild, IGNORE_EXCEPTION_FOR_TESTING);
// Recover the id attribute of the original element.
const AtomicString& id = m_element1->getAttribute(HTMLNames::idAttr);
if (!id.isNull())
m_element2->setAttribute(HTMLNames::idAttr, id);
- m_element1->remove(IGNORE_EXCEPTION);
+ m_element1->remove(IGNORE_EXCEPTION_FOR_TESTING);
}
void SplitElementCommand::doReapply() {

Powered by Google App Engine
This is Rietveld 408576698