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

Unified Diff: Source/core/html/MediaFragmentURIParser.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/html/HTMLTextFormControlElement.cpp ('k') | Source/core/html/NumberInputType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/MediaFragmentURIParser.cpp
diff --git a/Source/core/html/MediaFragmentURIParser.cpp b/Source/core/html/MediaFragmentURIParser.cpp
index 3289ec0594f155f68eee77e268ed1faeafb56cdf..c37758163289794fbdac0936803c1399a3958d66 100644
--- a/Source/core/html/MediaFragmentURIParser.cpp
+++ b/Source/core/html/MediaFragmentURIParser.cpp
@@ -112,11 +112,11 @@ void MediaFragmentURIParser::parseFragments()
// percent-encoded octets are decoded.
size_t parameterStart = offset;
size_t parameterEnd = fragmentString.find('&', offset);
- if (parameterEnd == notFound)
+ if (parameterEnd == kNotFound)
parameterEnd = end;
size_t equalOffset = fragmentString.find('=', offset);
- if (equalOffset == notFound || equalOffset > parameterEnd) {
+ if (equalOffset == kNotFound || equalOffset > parameterEnd) {
offset = parameterEnd + 1;
continue;
}
« no previous file with comments | « Source/core/html/HTMLTextFormControlElement.cpp ('k') | Source/core/html/NumberInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698