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

Unified Diff: third_party/WebKit/Source/core/editing/commands/SplitTextNodeCommand.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/SplitTextNodeCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/SplitTextNodeCommand.cpp b/third_party/WebKit/Source/core/editing/commands/SplitTextNodeCommand.cpp
index 2439378d942674333ab0a2e9af5691496e9528e8..3ed9063fdae7e8a5baafeb815e7befddbe175d61 100644
--- a/third_party/WebKit/Source/core/editing/commands/SplitTextNodeCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/SplitTextNodeCommand.cpp
@@ -51,7 +51,8 @@ void SplitTextNodeCommand::doApply(EditingState*) {
if (!parent || !hasEditableStyle(*parent))
return;
- String prefixText = m_text2->substringData(0, m_offset, IGNORE_EXCEPTION);
+ String prefixText =
+ m_text2->substringData(0, m_offset, IGNORE_EXCEPTION_FOR_TESTING);
if (prefixText.isEmpty())
return;

Powered by Google App Engine
This is Rietveld 408576698