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

Unified Diff: third_party/WebKit/Source/core/layout/api/LayoutBoxItem.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/LayoutBoxItem.h
diff --git a/third_party/WebKit/Source/core/layout/api/LayoutBoxItem.h b/third_party/WebKit/Source/core/layout/api/LayoutBoxItem.h
index 539bfee5c04a85ae0122dae775dfa33f78a3e7dd..a93c022df467f84758665e03a426afa142b2dab7 100644
--- a/third_party/WebKit/Source/core/layout/api/LayoutBoxItem.h
+++ b/third_party/WebKit/Source/core/layout/api/LayoutBoxItem.h
@@ -20,7 +20,7 @@ class LayoutBoxItem : public LayoutBoxModel {
explicit LayoutBoxItem(LayoutBox* layoutBox) : LayoutBoxModel(layoutBox) {}
explicit LayoutBoxItem(const LayoutItem& item) : LayoutBoxModel(item) {
- ASSERT_WITH_SECURITY_IMPLICATION(!item || item.isBox());
+ SECURITY_DCHECK(!item || item.isBox());
}
explicit LayoutBoxItem(std::nullptr_t) : LayoutBoxModel(nullptr) {}

Powered by Google App Engine
This is Rietveld 408576698