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

Unified Diff: Source/core/editing/VisibleUnits.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/VisibleSelection.cpp ('k') | Source/core/editing/htmlediting.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/VisibleUnits.cpp
diff --git a/Source/core/editing/VisibleUnits.cpp b/Source/core/editing/VisibleUnits.cpp
index 11cd1acc3373893dfb8990e5d27d9cc278466853..600242cd26b837263d61518265d3375ef641610c 100644
--- a/Source/core/editing/VisibleUnits.cpp
+++ b/Source/core/editing/VisibleUnits.cpp
@@ -460,11 +460,11 @@ static VisiblePosition previousBoundary(const VisiblePosition& c, BoundarySearch
Vector<UChar, 1024> string;
unsigned suffixLength = 0;
- TrackExceptionState es;
+ TrackExceptionState exceptionState;
if (requiresContextForWordBoundary(c.characterBefore())) {
RefPtr<Range> forwardsScanRange(d.createRange());
- forwardsScanRange->setEndAfter(boundary, es);
- forwardsScanRange->setStart(end.deprecatedNode(), end.deprecatedEditingOffset(), es);
+ forwardsScanRange->setEndAfter(boundary, exceptionState);
+ forwardsScanRange->setStart(end.deprecatedNode(), end.deprecatedEditingOffset(), exceptionState);
TextIterator forwardsIterator(forwardsScanRange.get());
while (!forwardsIterator.atEnd()) {
Vector<UChar, 1024> characters;
@@ -478,11 +478,11 @@ static VisiblePosition previousBoundary(const VisiblePosition& c, BoundarySearch
}
}
- searchRange->setStart(start.deprecatedNode(), start.deprecatedEditingOffset(), es);
- searchRange->setEnd(end.deprecatedNode(), end.deprecatedEditingOffset(), es);
+ searchRange->setStart(start.deprecatedNode(), start.deprecatedEditingOffset(), exceptionState);
+ searchRange->setEnd(end.deprecatedNode(), end.deprecatedEditingOffset(), exceptionState);
- ASSERT(!es.hadException());
- if (es.hadException())
+ ASSERT(!exceptionState.hadException());
+ if (exceptionState.hadException())
return VisiblePosition();
SimplifiedBackwardsTextIterator it(searchRange.get());
« no previous file with comments | « Source/core/editing/VisibleSelection.cpp ('k') | Source/core/editing/htmlediting.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698