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

Unified Diff: Source/core/editing/InsertIntoTextNodeCommand.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/FormatBlockCommand.cpp ('k') | Source/core/editing/InsertListCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/InsertIntoTextNodeCommand.cpp
diff --git a/Source/core/editing/InsertIntoTextNodeCommand.cpp b/Source/core/editing/InsertIntoTextNodeCommand.cpp
index 4e1845f935e4685edc4986c0f66e2b910d986d00..75a68b5f66c23ccfa942eb552e7f81bfdcc51e33 100644
--- a/Source/core/editing/InsertIntoTextNodeCommand.cpp
+++ b/Source/core/editing/InsertIntoTextNodeCommand.cpp
@@ -61,7 +61,7 @@ void InsertIntoTextNodeCommand::doApply()
renderText->momentarilyRevealLastTypedCharacter(m_offset + m_text.length() - 1);
}
- m_node->insertData(m_offset, m_text, IGNORE_EXCEPTION_STATE);
+ m_node->insertData(m_offset, m_text, IGNORE_EXCEPTION);
if (AXObjectCache* cache = document()->existingAXObjectCache())
cache->nodeTextChangeNotification(m_node.get(), AXObjectCache::AXTextInserted, m_offset, m_text);
@@ -76,7 +76,7 @@ void InsertIntoTextNodeCommand::doUnapply()
if (AXObjectCache* cache = document()->existingAXObjectCache())
cache->nodeTextChangeNotification(m_node.get(), AXObjectCache::AXTextDeleted, m_offset, m_text);
- m_node->deleteData(m_offset, m_text.length(), IGNORE_EXCEPTION_STATE);
+ m_node->deleteData(m_offset, m_text.length(), IGNORE_EXCEPTION);
}
#ifndef NDEBUG
« no previous file with comments | « Source/core/editing/FormatBlockCommand.cpp ('k') | Source/core/editing/InsertListCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698