Index: include/v8-inspector.h |
diff --git a/include/v8-inspector.h b/include/v8-inspector.h |
index 0855ac101b74ef11bf7dccbf13ce02e92e4498d0..aa90de5abb5691dd38daf83e00551491af718aa2 100644 |
--- a/include/v8-inspector.h |
+++ b/include/v8-inspector.h |
@@ -37,14 +37,14 @@ |
public: |
StringView() : m_is8Bit(true), m_length(0), m_characters8(nullptr) {} |
- StringView(const uint8_t* characters, size_t length) |
+ StringView(const uint8_t* characters, unsigned length) |
: m_is8Bit(true), m_length(length), m_characters8(characters) {} |
- StringView(const uint16_t* characters, size_t length) |
+ StringView(const uint16_t* characters, unsigned length) |
: m_is8Bit(false), m_length(length), m_characters16(characters) {} |
bool is8Bit() const { return m_is8Bit; } |
- size_t length() const { return m_length; } |
+ unsigned length() const { return m_length; } |
// TODO(dgozman): add DCHECK(m_is8Bit) to accessors once platform can be used |
// here. |
@@ -53,7 +53,7 @@ |
private: |
bool m_is8Bit; |
- size_t m_length; |
+ unsigned m_length; |
union { |
const uint8_t* m_characters8; |
const uint16_t* m_characters16; |