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

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

Issue 23464095: WTF::notFound looks too much like a local variable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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: Source/core/xml/XPathParser.cpp
diff --git a/Source/core/xml/XPathParser.cpp b/Source/core/xml/XPathParser.cpp
index 3fe9b350ccfa1ebf966496d0a726356557710c59..0772e3adfa93bb6e1cdae2b2b344bddf82555f5a 100644
--- a/Source/core/xml/XPathParser.cpp
+++ b/Source/core/xml/XPathParser.cpp
@@ -451,7 +451,7 @@ int Parser::lex(void* data)
bool Parser::expandQName(const String& qName, String& localName, String& namespaceURI)
{
size_t colon = qName.find(':');
- if (colon != notFound) {
+ if (colon != kNotFound) {
if (!m_resolver)
return false;
namespaceURI = m_resolver->lookupNamespaceURI(qName.left(colon));
« no previous file with comments | « Source/core/xml/XPathFunctions.cpp ('k') | Source/modules/device_orientation/DeviceSensorEventDispatcher.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698