Index: src/inspector/StringUtil.h |
diff --git a/src/inspector/StringUtil.h b/src/inspector/StringUtil.h |
index ec75cd7dc170bb7650a94bbaa63bce3ed0c890ed..3a69454d95ee3d077275ba4a338ec66cac8a488b 100644 |
--- a/src/inspector/StringUtil.h |
+++ b/src/inspector/StringUtil.h |
@@ -21,16 +21,13 @@ |
class StringUtil { |
public: |
- static String substring(const String& s, size_t pos, size_t len) { |
+ static String substring(const String& s, unsigned pos, unsigned len) { |
return s.substring(pos, len); |
} |
static String fromInteger(int number) { return String::fromInteger(number); } |
- static String fromInteger(size_t number) { |
- return String::fromInteger(number); |
- } |
static String fromDouble(double number) { return String::fromDouble(number); } |
static const size_t kNotFound = String::kNotFound; |
- static void builderReserve(StringBuilder& builder, size_t capacity) { |
+ static void builderReserve(StringBuilder& builder, unsigned capacity) { |
builder.reserveCapacity(capacity); |
} |
}; |