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

Unified Diff: Source/core/editing/MergeIdenticalElementsCommand.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/FrameSelection.cpp ('k') | Source/core/editing/SplitElementCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/MergeIdenticalElementsCommand.cpp
diff --git a/Source/core/editing/MergeIdenticalElementsCommand.cpp b/Source/core/editing/MergeIdenticalElementsCommand.cpp
index 2ae2dbba89a5f4878ed37b381ddcb0b1b82f3e92..e512319ee524712abe1c4714ee218b1a5f017431 100644
--- a/Source/core/editing/MergeIdenticalElementsCommand.cpp
+++ b/Source/core/editing/MergeIdenticalElementsCommand.cpp
@@ -71,10 +71,10 @@ void MergeIdenticalElementsCommand::doUnapply()
if (!parent || !parent->rendererIsEditable())
return;
- TrackExceptionState es;
+ TrackExceptionState exceptionState;
- 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;
Vector<RefPtr<Node> > children;
@@ -83,7 +83,7 @@ void MergeIdenticalElementsCommand::doUnapply()
size_t size = children.size();
for (size_t i = 0; i < size; ++i)
- m_element1->appendChild(children[i].release(), es);
+ m_element1->appendChild(children[i].release(), exceptionState);
}
} // namespace WebCore
« no previous file with comments | « Source/core/editing/FrameSelection.cpp ('k') | Source/core/editing/SplitElementCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698