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

Unified Diff: third_party/WebKit/Source/core/layout/api/LineLayoutInline.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/core/layout/api/LineLayoutInline.h
diff --git a/third_party/WebKit/Source/core/layout/api/LineLayoutInline.h b/third_party/WebKit/Source/core/layout/api/LineLayoutInline.h
index 1fd759432500dedc1184aa1940a1034332aaf77e..017b9d1a9f8ad939cef1339ca612d90d872736bc 100644
--- a/third_party/WebKit/Source/core/layout/api/LineLayoutInline.h
+++ b/third_party/WebKit/Source/core/layout/api/LineLayoutInline.h
@@ -22,7 +22,7 @@ class LineLayoutInline : public LineLayoutBoxModel {
explicit LineLayoutInline(const LineLayoutItem& item)
: LineLayoutBoxModel(item) {
- ASSERT_WITH_SECURITY_IMPLICATION(!item || item.isLayoutInline());
+ SECURITY_DCHECK(!item || item.isLayoutInline());
}
explicit LineLayoutInline(std::nullptr_t) : LineLayoutBoxModel(nullptr) {}

Powered by Google App Engine
This is Rietveld 408576698