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

Unified Diff: Source/core/xml/XPathEvaluator.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/xml/XMLSerializer.cpp ('k') | Source/core/xml/XPathExpression.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XPathEvaluator.cpp
diff --git a/Source/core/xml/XPathEvaluator.cpp b/Source/core/xml/XPathEvaluator.cpp
index 32dce9a3b2be316f1b41acfd69017f98198097b2..a432452f94ea3d714bc8f144d1867d9cceee642c 100644
--- a/Source/core/xml/XPathEvaluator.cpp
+++ b/Source/core/xml/XPathEvaluator.cpp
@@ -39,9 +39,9 @@ namespace WebCore {
using namespace XPath;
-PassRefPtr<XPathExpression> XPathEvaluator::createExpression(const String& expression, XPathNSResolver* resolver, ExceptionState& es)
+PassRefPtr<XPathExpression> XPathEvaluator::createExpression(const String& expression, XPathNSResolver* resolver, ExceptionState& exceptionState)
{
- return XPathExpression::createExpression(expression, resolver, es);
+ return XPathExpression::createExpression(expression, resolver, exceptionState);
}
PassRefPtr<XPathNSResolver> XPathEvaluator::createNSResolver(Node* nodeResolver)
@@ -50,18 +50,18 @@ PassRefPtr<XPathNSResolver> XPathEvaluator::createNSResolver(Node* nodeResolver)
}
PassRefPtr<XPathResult> XPathEvaluator::evaluate(const String& expression, Node* contextNode,
- XPathNSResolver* resolver, unsigned short type, XPathResult* result, ExceptionState& es)
+ XPathNSResolver* resolver, unsigned short type, XPathResult* result, ExceptionState& exceptionState)
{
if (!isValidContextNode(contextNode)) {
- es.throwUninformativeAndGenericDOMException(NotSupportedError);
+ exceptionState.throwUninformativeAndGenericDOMException(NotSupportedError);
return 0;
}
- RefPtr<XPathExpression> expr = createExpression(expression, resolver, es);
- if (es.hadException())
+ RefPtr<XPathExpression> expr = createExpression(expression, resolver, exceptionState);
+ if (exceptionState.hadException())
return 0;
- return expr->evaluate(contextNode, type, result, es);
+ return expr->evaluate(contextNode, type, result, exceptionState);
}
}
« no previous file with comments | « Source/core/xml/XMLSerializer.cpp ('k') | Source/core/xml/XPathExpression.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698