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

Unified Diff: third_party/WebKit/Source/platform/fonts/GlyphBuffer.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/GlyphBuffer.h
diff --git a/third_party/WebKit/Source/platform/fonts/GlyphBuffer.h b/third_party/WebKit/Source/platform/fonts/GlyphBuffer.h
index 5054a5f0fc987910591e7adf00b99b31242a804b..524b1b8a4169cd3c103818b24aed20894e8619e1 100644
--- a/third_party/WebKit/Source/platform/fonts/GlyphBuffer.h
+++ b/third_party/WebKit/Source/platform/fonts/GlyphBuffer.h
@@ -133,7 +133,7 @@ class GlyphBuffer {
// shaping, and adjust the initial advance accordingly -> should
// yield correctly positioned RTL glyphs without any post-shape
// munging).
- ASSERT_WITH_SECURITY_IMPLICATION(!m_offsets.isEmpty());
+ SECURITY_DCHECK(!m_offsets.isEmpty());
for (unsigned i = 0; i + 1 < m_offsets.size(); ++i)
m_offsets[i] = totalWidth - m_offsets[i + 1];
m_offsets.last() = totalWidth - afterOffset;
« no previous file with comments | « third_party/WebKit/Source/platform/audio/HRTFDatabase.cpp ('k') | third_party/WebKit/Source/platform/fonts/GlyphMetricsMap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698