Index: src/inspector/string-util.h |
diff --git a/src/inspector/string-util.h b/src/inspector/string-util.h |
index 1936c11d0061c75bdf4867c007d61bb28f015ece..6f0e3d5ff50a34260674dacdd607b7eec88b3313 100644 |
--- a/src/inspector/string-util.h |
+++ b/src/inspector/string-util.h |
@@ -32,6 +32,12 @@ class StringUtil { |
return String::fromInteger(number); |
} |
static String fromDouble(double number) { return String::fromDouble(number); } |
+ static size_t find(const String& s, const char* needle) { |
+ return s.find(needle); |
+ } |
+ static size_t find(const String& s, const String& needle) { |
+ return s.find(needle); |
+ } |
static const size_t kNotFound = String::kNotFound; |
static void builderAppend(StringBuilder& builder, const String& s) { |
builder.append(s); |