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

Unified Diff: third_party/WebKit/Source/platform/geometry/Region.cpp

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/geometry/Region.cpp
diff --git a/third_party/WebKit/Source/platform/geometry/Region.cpp b/third_party/WebKit/Source/platform/geometry/Region.cpp
index 531bd12eea4c86ab281dc9e455f18e50f274e568..ab0b53e252d579719bf7d8b5880a5e6ca7bcb18d 100644
--- a/third_party/WebKit/Source/platform/geometry/Region.cpp
+++ b/third_party/WebKit/Source/platform/geometry/Region.cpp
@@ -315,7 +315,7 @@ Region::Shape::SegmentIterator Region::Shape::segmentsEnd(
ASSERT(it + 1 < m_spans.data() + m_spans.size());
size_t segmentIndex = (it + 1)->segmentIndex;
- ASSERT_WITH_SECURITY_IMPLICATION(segmentIndex <= m_segments.size());
+ SECURITY_DCHECK(segmentIndex <= m_segments.size());
return m_segments.data() + segmentIndex;
}

Powered by Google App Engine
This is Rietveld 408576698