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

Unified Diff: third_party/WebKit/Source/core/layout/api/LayoutPartItem.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/LayoutPartItem.h
diff --git a/third_party/WebKit/Source/core/layout/api/LayoutPartItem.h b/third_party/WebKit/Source/core/layout/api/LayoutPartItem.h
index 6c4a8ab7324fcd8eda13efd839a0df86b4ad61af..f0e0fd0af0482649e5a24af810d91798de775516 100644
--- a/third_party/WebKit/Source/core/layout/api/LayoutPartItem.h
+++ b/third_party/WebKit/Source/core/layout/api/LayoutPartItem.h
@@ -15,7 +15,7 @@ class LayoutPartItem : public LayoutBoxItem {
explicit LayoutPartItem(LayoutPart* layoutPart) : LayoutBoxItem(layoutPart) {}
explicit LayoutPartItem(const LayoutItem& item) : LayoutBoxItem(item) {
- ASSERT_WITH_SECURITY_IMPLICATION(!item || item.isLayoutPart());
+ SECURITY_DCHECK(!item || item.isLayoutPart());
}
explicit LayoutPartItem(std::nullptr_t) : LayoutBoxItem(nullptr) {}

Powered by Google App Engine
This is Rietveld 408576698