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

Unified Diff: Source/core/editing/VisibleSelection.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/VisiblePosition.cpp ('k') | Source/core/editing/VisibleUnits.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/VisibleSelection.cpp
diff --git a/Source/core/editing/VisibleSelection.cpp b/Source/core/editing/VisibleSelection.cpp
index 22ed2e399c967e60729b4508d887b513c2ed3c1d..22bb977cf9f2542b10873ac3ac09b079e946943e 100644
--- a/Source/core/editing/VisibleSelection.cpp
+++ b/Source/core/editing/VisibleSelection.cpp
@@ -218,14 +218,14 @@ static PassRefPtr<Range> makeSearchRange(const Position& pos)
return 0;
RefPtr<Range> searchRange(Range::create(d));
- TrackExceptionState es;
+ TrackExceptionState exceptionState;
Position start(pos.parentAnchoredEquivalent());
- searchRange->selectNodeContents(boundary, es);
- searchRange->setStart(start.containerNode(), start.offsetInContainerNode(), es);
+ searchRange->selectNodeContents(boundary, exceptionState);
+ searchRange->setStart(start.containerNode(), start.offsetInContainerNode(), exceptionState);
- ASSERT(!es.hadException());
- if (es.hadException())
+ ASSERT(!exceptionState.hadException());
+ if (exceptionState.hadException())
return 0;
return searchRange.release();
« no previous file with comments | « Source/core/editing/VisiblePosition.cpp ('k') | Source/core/editing/VisibleUnits.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698