| 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;
|
| }
|
|
|