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

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

Issue 72363002: Rename es => exceptionState in other than bindings/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Retry Created 7 years, 1 month 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/MergeIdenticalElementsCommand.cpp ('k') | Source/core/editing/SplitTextNodeCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/SplitElementCommand.cpp
diff --git a/Source/core/editing/SplitElementCommand.cpp b/Source/core/editing/SplitElementCommand.cpp
index e4227cad72647f074c679bcae62fd2337f5b0dc6..128c37097edf83107af7d220dc03e76eaf48d020 100644
--- a/Source/core/editing/SplitElementCommand.cpp
+++ b/Source/core/editing/SplitElementCommand.cpp
@@ -53,13 +53,13 @@ void SplitElementCommand::executeApply()
for (Node* node = m_element2->firstChild(); node != m_atChild; node = node->nextSibling())
children.append(node);
- TrackExceptionState es;
+ TrackExceptionState exceptionState;
ContainerNode* parent = m_element2->parentNode();
if (!parent || !parent->rendererIsEditable())
return;
- parent->insertBefore(m_element1.get(), m_element2.get(), es);
- if (es.hadException())
+ parent->insertBefore(m_element1.get(), m_element2.get(), exceptionState);
+ if (exceptionState.hadException())
return;
// Delete id attribute from the second element because the same id cannot be used for more than one element
@@ -67,7 +67,7 @@ void SplitElementCommand::executeApply()
size_t size = children.size();
for (size_t i = 0; i < size; ++i)
- m_element1->appendChild(children[i], es);
+ m_element1->appendChild(children[i], exceptionState);
}
void SplitElementCommand::doApply()
« no previous file with comments | « Source/core/editing/MergeIdenticalElementsCommand.cpp ('k') | Source/core/editing/SplitTextNodeCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698