Index: third_party/WebKit/Source/core/style/QuotesData.cpp |
diff --git a/third_party/WebKit/Source/core/style/QuotesData.cpp b/third_party/WebKit/Source/core/style/QuotesData.cpp |
index 0eafa382c163ffbe1b7b67aa0dff2cea68e2ada7..2e502aa09ef32e8cc1f911277599e96a1dd43068 100644 |
--- a/third_party/WebKit/Source/core/style/QuotesData.cpp |
+++ b/third_party/WebKit/Source/core/style/QuotesData.cpp |
@@ -38,7 +38,7 @@ void QuotesData::addPair(std::pair<String, String> quotePair) { |
} |
const String QuotesData::getOpenQuote(int index) const { |
- ASSERT(index >= 0); |
+ DCHECK_GE(index, 0); |
if (!m_quotePairs.size() || index < 0) |
return emptyString; |
if ((size_t)index >= m_quotePairs.size()) |
@@ -47,7 +47,7 @@ const String QuotesData::getOpenQuote(int index) const { |
} |
const String QuotesData::getCloseQuote(int index) const { |
- ASSERT(index >= -1); |
+ DCHECK_GE(index, -1); |
if (!m_quotePairs.size() || index < 0) |
return emptyString; |
if ((size_t)index >= m_quotePairs.size()) |