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

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

Issue 22417002: Rename ASSERT_NO_EXCEPTION_STATE and IGNORE_EXCEPTION_STATE (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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
« no previous file with comments | « Source/core/editing/SplitElementCommand.cpp ('k') | Source/core/editing/TextCheckingHelper.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/SplitTextNodeCommand.cpp
diff --git a/Source/core/editing/SplitTextNodeCommand.cpp b/Source/core/editing/SplitTextNodeCommand.cpp
index 0271f2fc7796955899ad7041a2c32c18e768d182..723cf712f8bbcba59181469539730c2074d915ce 100644
--- a/Source/core/editing/SplitTextNodeCommand.cpp
+++ b/Source/core/editing/SplitTextNodeCommand.cpp
@@ -56,7 +56,7 @@ void SplitTextNodeCommand::doApply()
if (!parent || !parent->rendererIsEditable())
return;
- String prefixText = m_text2->substringData(0, m_offset, IGNORE_EXCEPTION_STATE);
+ String prefixText = m_text2->substringData(0, m_offset, IGNORE_EXCEPTION);
if (prefixText.isEmpty())
return;
@@ -76,10 +76,10 @@ void SplitTextNodeCommand::doUnapply()
String prefixText = m_text1->data();
- m_text2->insertData(0, prefixText, ASSERT_NO_EXCEPTION_STATE);
+ m_text2->insertData(0, prefixText, ASSERT_NO_EXCEPTION);
document()->markers()->copyMarkers(m_text1.get(), 0, prefixText.length(), m_text2.get(), 0);
- m_text1->remove(ASSERT_NO_EXCEPTION_STATE);
+ m_text1->remove(ASSERT_NO_EXCEPTION);
}
void SplitTextNodeCommand::doReapply()
« no previous file with comments | « Source/core/editing/SplitElementCommand.cpp ('k') | Source/core/editing/TextCheckingHelper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698