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

Unified Diff: third_party/WebKit/Source/core/layout/api/LineLayoutBR.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/LineLayoutBR.h
diff --git a/third_party/WebKit/Source/core/layout/api/LineLayoutBR.h b/third_party/WebKit/Source/core/layout/api/LineLayoutBR.h
index d536b662e6a780f393db7bea1ef1e95137867365..c1641c5f97042de71d36b94c3fdd3a42ac040f80 100644
--- a/third_party/WebKit/Source/core/layout/api/LineLayoutBR.h
+++ b/third_party/WebKit/Source/core/layout/api/LineLayoutBR.h
@@ -15,7 +15,7 @@ class LineLayoutBR : public LineLayoutText {
explicit LineLayoutBR(LayoutBR* layoutBR) : LineLayoutText(layoutBR) {}
explicit LineLayoutBR(const LineLayoutItem& item) : LineLayoutText(item) {
- ASSERT_WITH_SECURITY_IMPLICATION(!item || item.isBR());
+ SECURITY_DCHECK(!item || item.isBR());
}
explicit LineLayoutBR(std::nullptr_t) : LineLayoutText(nullptr) {}

Powered by Google App Engine
This is Rietveld 408576698