Index: Source/platform/fonts/shaping/HarfBuzzShaper.cpp |
diff --git a/Source/platform/fonts/shaping/HarfBuzzShaper.cpp b/Source/platform/fonts/shaping/HarfBuzzShaper.cpp |
index bcf441c52f205f331c6ae205cf4aa08369f9f3f3..cf3a64849a1e544d4c87406e329c6edd00c4bd85 100644 |
--- a/Source/platform/fonts/shaping/HarfBuzzShaper.cpp |
+++ b/Source/platform/fonts/shaping/HarfBuzzShaper.cpp |
@@ -445,9 +445,8 @@ void HarfBuzzShaper::setPadding(int padding) |
} |
-void HarfBuzzShaper::setDrawRange(int from, int to) |
+void HarfBuzzShaper::setDrawRange(unsigned from, unsigned to) |
{ |
- ASSERT_WITH_SECURITY_IMPLICATION(from >= 0); |
ASSERT_WITH_SECURITY_IMPLICATION(to <= m_run.length()); |
m_fromIndex = from; |
m_toIndex = to; |