| Index: Source/core/inspector/ContentSearchUtils.cpp
|
| diff --git a/Source/core/inspector/ContentSearchUtils.cpp b/Source/core/inspector/ContentSearchUtils.cpp
|
| index 48ecdc4d7cfb2e5c6d424f3921f7f49151f2c6b5..7797e402b72815190dfd675290ad8aa941278b82 100644
|
| --- a/Source/core/inspector/ContentSearchUtils.cpp
|
| +++ b/Source/core/inspector/ContentSearchUtils.cpp
|
| @@ -49,7 +49,7 @@ static String createSearchRegexSource(const String& text)
|
| String specials(regexSpecialCharacters);
|
|
|
| for (unsigned i = 0; i < text.length(); i++) {
|
| - if (specials.find(text[i]) != notFound)
|
| + if (specials.find(text[i]) != kNotFound)
|
| result.append("\\");
|
| result.append(text[i]);
|
| }
|
| @@ -129,7 +129,7 @@ PassRefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch> > searchInTextByLi
|
|
|
| static String findMagicComment(const String& content, const String& name, MagicCommentType commentType, bool* deprecated = 0)
|
| {
|
| - ASSERT(name.find("=") == notFound);
|
| + ASSERT(name.find("=") == kNotFound);
|
| if (deprecated)
|
| *deprecated = false;
|
| String pattern;
|
| @@ -162,7 +162,7 @@ static String findMagicComment(const String& content, const String& name, MagicC
|
|
|
| String match = content.substring(offset, matchLength);
|
| size_t separator = match.find("=");
|
| - ASSERT(separator != notFound);
|
| + ASSERT(separator != kNotFound);
|
| match = match.substring(separator + 1);
|
|
|
| switch (commentType) {
|
| @@ -170,7 +170,7 @@ static String findMagicComment(const String& content, const String& name, MagicC
|
| return match.stripWhiteSpace();
|
| case CSSMagicComment: {
|
| size_t lastStarIndex = match.reverseFind('*');
|
| - ASSERT(lastStarIndex != notFound);
|
| + ASSERT(lastStarIndex != kNotFound);
|
| return match.substring(0, lastStarIndex).stripWhiteSpace();
|
| }
|
| default:
|
|
|