Index: third_party/WebKit/Source/platform/text/TextRun.h |
diff --git a/third_party/WebKit/Source/platform/text/TextRun.h b/third_party/WebKit/Source/platform/text/TextRun.h |
index fd194049e0accf6b5d783fc62e546cc0e79fae06..03061771718e5aa5ae888cf779b5635b679d82b4 100644 |
--- a/third_party/WebKit/Source/platform/text/TextRun.h |
+++ b/third_party/WebKit/Source/platform/text/TextRun.h |
@@ -177,8 +177,8 @@ public: |
const UChar* characters16() const { ASSERT(!is8Bit()); return m_data.characters16; } |
bool is8Bit() const { return m_is8Bit; } |
- int length() const { return m_len; } |
- int charactersLength() const { return m_charactersLength; } |
+ unsigned length() const { return m_len; } |
+ unsigned charactersLength() const { return m_charactersLength; } |
bool normalizeSpace() const { return m_normalizeSpace; } |
void setNormalizeSpace(bool normalizeSpace) { m_normalizeSpace = normalizeSpace; } |
@@ -259,8 +259,8 @@ public: |
} |
const TextRun& run; |
- int from; |
- int to; |
+ unsigned from; |
+ unsigned to; |
FloatRect bounds; |
RefPtr<const SkTextBlob>* cachedTextBlob; |
}; |