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

Unified Diff: Source/core/editing/EditorCommand.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/DeleteFromTextNodeCommand.cpp ('k') | Source/core/editing/FrameSelection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/EditorCommand.cpp
diff --git a/Source/core/editing/EditorCommand.cpp b/Source/core/editing/EditorCommand.cpp
index 451d561880b2d413515d2a1c786652994e1c9a4f..7a6bbb2dd7fce11136bb344b52e9ffe69286496d 100644
--- a/Source/core/editing/EditorCommand.cpp
+++ b/Source/core/editing/EditorCommand.cpp
@@ -200,9 +200,9 @@ static bool executeInsertNode(Frame& frame, PassRefPtr<Node> content)
{
ASSERT(frame.document());
RefPtr<DocumentFragment> fragment = DocumentFragment::create(*frame.document());
- TrackExceptionState es;
- fragment->appendChild(content, es);
- if (es.hadException())
+ TrackExceptionState exceptionState;
+ fragment->appendChild(content, exceptionState);
+ if (exceptionState.hadException())
return false;
return executeInsertFragment(frame, fragment.release());
}
« no previous file with comments | « Source/core/editing/DeleteFromTextNodeCommand.cpp ('k') | Source/core/editing/FrameSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698