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

Unified Diff: Source/core/editing/ReplaceNodeWithSpanCommand.cpp

Issue 18398002: Remove IDBNotFoundError ExceptionCode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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: Source/core/editing/ReplaceNodeWithSpanCommand.cpp
diff --git a/Source/core/editing/ReplaceNodeWithSpanCommand.cpp b/Source/core/editing/ReplaceNodeWithSpanCommand.cpp
index 0fa8615ace6ca52247cc56b91b40961335069401..8adaf486e8957610b37a44d4e444c43a42e5fd57 100644
--- a/Source/core/editing/ReplaceNodeWithSpanCommand.cpp
+++ b/Source/core/editing/ReplaceNodeWithSpanCommand.cpp
@@ -62,7 +62,7 @@ static void swapInNodePreservingAttributesAndChildren(HTMLElement* newNode, HTML
// FIXME: Fix this to send the proper MutationRecords when MutationObservers are present.
newNode->cloneDataFromElement(*nodeToReplace);
- parentNode->removeChild(nodeToReplace, ASSERT_NO_EXCEPTION);
+ parentNode->removeChild(nodeToReplace);
Mike West 2013/07/10 09:40:30 Why did you drop the ASSERT_NO_EXCEPTION here and
arv (Not doing code reviews) 2013/07/10 15:37:24 These are useless since it defaults to ASSERT_NO_E
}
void ReplaceNodeWithSpanCommand::doApply()

Powered by Google App Engine
This is Rietveld 408576698