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

Unified Diff: third_party/WebKit/Source/core/xml/XPathExpression.cpp

Issue 2068053002: Rename Blink constants generated from IDL files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unintended exception message change Created 4 years, 5 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
Index: third_party/WebKit/Source/core/xml/XPathExpression.cpp
diff --git a/third_party/WebKit/Source/core/xml/XPathExpression.cpp b/third_party/WebKit/Source/core/xml/XPathExpression.cpp
index 70b574eb96690137edc3592875d14b5abdf3031f..e749fef500577af8bd8b2261b27411c8ddb9743c 100644
--- a/third_party/WebKit/Source/core/xml/XPathExpression.cpp
+++ b/third_party/WebKit/Source/core/xml/XPathExpression.cpp
@@ -76,7 +76,7 @@ XPathResult* XPathExpression::evaluate(Node* contextNode, unsigned short type, c
return nullptr;
}
- if (type != XPathResult::ANY_TYPE) {
+ if (type != XPathResult::kAnyType) {
result->convertTo(type, exceptionState);
if (exceptionState.hadException())
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698