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

Unified Diff: Source/core/xml/XPathParser.cpp

Issue 18548003: Rename ExceptionCode constants to use the names in the spec (2/3) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 months 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/XPathExpression.cpp ('k') | Source/core/xml/XPathResult.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XPathParser.cpp
diff --git a/Source/core/xml/XPathParser.cpp b/Source/core/xml/XPathParser.cpp
index 4ef59b6cce3f9bc68c64fcc04fe497def9594339..c031b153590299c51326774f52013669a18de5e8 100644
--- a/Source/core/xml/XPathParser.cpp
+++ b/Source/core/xml/XPathParser.cpp
@@ -501,9 +501,9 @@ Expression* Parser::parseStatement(const String& statement, PassRefPtr<XPathNSRe
m_topExpr = 0;
if (m_gotNamespaceError)
- ec = NAMESPACE_ERR;
+ ec = NamespaceError;
else
- ec = SYNTAX_ERR;
+ ec = SyntaxError;
return 0;
}
« no previous file with comments | « Source/core/xml/XPathExpression.cpp ('k') | Source/core/xml/XPathResult.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698