summaryrefslogtreecommitdiff
path: root/chromium/third_party/WebKit/Source/core/inspector/ContentSearchUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/inspector/ContentSearchUtils.h')
-rw-r--r--chromium/third_party/WebKit/Source/core/inspector/ContentSearchUtils.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/third_party/WebKit/Source/core/inspector/ContentSearchUtils.h b/chromium/third_party/WebKit/Source/core/inspector/ContentSearchUtils.h
index 7900e34205d..4ede1afb61a 100644
--- a/chromium/third_party/WebKit/Source/core/inspector/ContentSearchUtils.h
+++ b/chromium/third_party/WebKit/Source/core/inspector/ContentSearchUtils.h
@@ -37,7 +37,7 @@
namespace WebCore {
-class RegularExpression;
+class ScriptRegexp;
namespace ContentSearchUtils {
@@ -46,8 +46,8 @@ enum MagicCommentType {
CSSMagicComment
};
-PassOwnPtr<RegularExpression> createSearchRegex(const String& query, bool caseSensitive, bool isRegex);
-int countRegularExpressionMatches(const RegularExpression*, const String&);
+PassOwnPtr<ScriptRegexp> createSearchRegex(const String& query, bool caseSensitive, bool isRegex);
+int countScriptRegexpMatches(const ScriptRegexp*, const String&);
PassRefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch> > searchInTextByLines(const String& text, const String& query, const bool caseSensitive, const bool isRegex);
String findSourceURL(const String& content, MagicCommentType, bool* deprecated);