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

Unified Diff: Source/core/html/canvas/CanvasRenderingContext2D.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/NumberInputType.cpp ('k') | Source/core/html/canvas/WebGLRenderingContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/canvas/CanvasRenderingContext2D.cpp
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.cpp b/Source/core/html/canvas/CanvasRenderingContext2D.cpp
index 6169d86ad0ccb73d1b6678ab279c5b77fd10836f..4d7b8c43d0a40af0aecb4b810b8fecb7bba8f5b4 100644
--- a/Source/core/html/canvas/CanvasRenderingContext2D.cpp
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.cpp
@@ -2160,7 +2160,7 @@ static void replaceCharacterInString(String& text, WTF::CharacterMatchFunctionPt
{
const size_t replacementLength = replacement.length();
size_t index = 0;
- while ((index = text.find(matchFunction, index)) != notFound) {
+ while ((index = text.find(matchFunction, index)) != kNotFound) {
text.replace(index, 1, replacement);
index += replacementLength;
}
« no previous file with comments | « Source/core/html/NumberInputType.cpp ('k') | Source/core/html/canvas/WebGLRenderingContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698