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

Unified Diff: third_party/WebKit/Source/core/layout/api/LayoutViewItem.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/LayoutViewItem.h
diff --git a/third_party/WebKit/Source/core/layout/api/LayoutViewItem.h b/third_party/WebKit/Source/core/layout/api/LayoutViewItem.h
index 0078b6cc139a7cefb7be5766285f43dae58408bb..15a51f5a6fc61fb50ec7884c85582e34aeb5a441 100644
--- a/third_party/WebKit/Source/core/layout/api/LayoutViewItem.h
+++ b/third_party/WebKit/Source/core/layout/api/LayoutViewItem.h
@@ -19,7 +19,7 @@ class LayoutViewItem : public LayoutBlockItem {
: LayoutBlockItem(layoutView) {}
explicit LayoutViewItem(const LayoutBlockItem& item) : LayoutBlockItem(item) {
- ASSERT_WITH_SECURITY_IMPLICATION(!item || item.isLayoutView());
+ SECURITY_DCHECK(!item || item.isLayoutView());
}
explicit LayoutViewItem(std::nullptr_t) : LayoutBlockItem(nullptr) {}
« no previous file with comments | « third_party/WebKit/Source/core/layout/api/LayoutTextItem.h ('k') | third_party/WebKit/Source/core/layout/api/LineLayoutBR.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698