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

Unified Diff: Source/core/svg/SVGURIReference.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
« no previous file with comments | « Source/core/rendering/svg/RenderSVGText.cpp ('k') | Source/core/svg/animation/SMILTimeContainer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGURIReference.cpp
diff --git a/Source/core/svg/SVGURIReference.cpp b/Source/core/svg/SVGURIReference.cpp
index 4152c151c322f5ddf0cd5dd711d623007daa7490..f51aa1c047abcd24ca186e27a7b045dba24d670b 100644
--- a/Source/core/svg/SVGURIReference.cpp
+++ b/Source/core/svg/SVGURIReference.cpp
@@ -46,7 +46,7 @@ bool SVGURIReference::isKnownAttribute(const QualifiedName& attrName)
String SVGURIReference::fragmentIdentifierFromIRIString(const String& url, const Document& document)
{
size_t start = url.find('#');
- if (start == notFound)
+ if (start == kNotFound)
return emptyString();
KURL base = start ? KURL(document.baseURI(), url.substring(0, start)) : document.baseURI();
@@ -59,7 +59,7 @@ String SVGURIReference::fragmentIdentifierFromIRIString(const String& url, const
static inline KURL urlFromIRIStringWithFragmentIdentifier(const String& url, const Document& document, String& fragmentIdentifier)
{
size_t startOfFragmentIdentifier = url.find('#');
- if (startOfFragmentIdentifier == notFound)
+ if (startOfFragmentIdentifier == kNotFound)
return KURL();
// Exclude the '#' character when determining the fragmentIdentifier.
« no previous file with comments | « Source/core/rendering/svg/RenderSVGText.cpp ('k') | Source/core/svg/animation/SMILTimeContainer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698