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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/DisplayItem.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/graphics/paint/DisplayItem.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
index cb7af888ee1d12930b3b77f5b4d33c9c1a91811b..69d04570510f9311d02c16038e32b708bf2da1ce 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
@@ -227,8 +227,8 @@ class PLATFORM_EXPORT DisplayItem {
{
// derivedSize must fit in m_derivedSize.
// If it doesn't, enlarge m_derivedSize and fix this assert.
- ASSERT_WITH_SECURITY_IMPLICATION(derivedSize < (1 << 8));
- ASSERT_WITH_SECURITY_IMPLICATION(derivedSize >= sizeof(*this));
+ SECURITY_DCHECK(derivedSize < (1 << 8));
+ SECURITY_DCHECK(derivedSize >= sizeof(*this));
}
virtual ~DisplayItem() {}

Powered by Google App Engine
This is Rietveld 408576698