Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(914)

Unified Diff: third_party/WebKit/Source/platform/fonts/GlyphMetricsMap.h

Issue 2458003002: Remove ASSERT_WITH_SECURITY_IMPLICATION. (Closed)
Patch Set: Minor formatting fix Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/fonts/GlyphMetricsMap.h
diff --git a/third_party/WebKit/Source/platform/fonts/GlyphMetricsMap.h b/third_party/WebKit/Source/platform/fonts/GlyphMetricsMap.h
index 6e833f7105ab879caf4a841ac71e8a1cad8c5f60..aee4c66c7532df7fc8029f02355c87a33d4dbdca 100644
--- a/third_party/WebKit/Source/platform/fonts/GlyphMetricsMap.h
+++ b/third_party/WebKit/Source/platform/fonts/GlyphMetricsMap.h
@@ -72,7 +72,7 @@ class GlyphMetricsMap {
setMetricsForIndex(glyph % size, metrics);
}
void setMetricsForIndex(unsigned index, const T& metrics) {
- ASSERT_WITH_SECURITY_IMPLICATION(index < size);
+ SECURITY_DCHECK(index < size);
m_metrics[index] = metrics;
}

Powered by Google App Engine
This is Rietveld 408576698