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

Unified Diff: third_party/WebKit/Source/core/layout/api/LineLayoutText.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/LineLayoutText.h
diff --git a/third_party/WebKit/Source/core/layout/api/LineLayoutText.h b/third_party/WebKit/Source/core/layout/api/LineLayoutText.h
index 5362e1413082f7400a7bbf4dd465310b83f5a068..4e664b2b9410d4a4859faa6392bb403b15b8a4b3 100644
--- a/third_party/WebKit/Source/core/layout/api/LineLayoutText.h
+++ b/third_party/WebKit/Source/core/layout/api/LineLayoutText.h
@@ -20,7 +20,7 @@ class LineLayoutText : public LineLayoutItem {
: LineLayoutItem(layoutObject) {}
explicit LineLayoutText(const LineLayoutItem& item) : LineLayoutItem(item) {
- ASSERT_WITH_SECURITY_IMPLICATION(!item || item.isText());
+ SECURITY_DCHECK(!item || item.isText());
}
explicit LineLayoutText(std::nullptr_t) : LineLayoutItem(nullptr) {}

Powered by Google App Engine
This is Rietveld 408576698