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

Unified Diff: third_party/WebKit/Source/core/layout/api/LayoutEmbeddedItem.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/LayoutEmbeddedItem.h
diff --git a/third_party/WebKit/Source/core/layout/api/LayoutEmbeddedItem.h b/third_party/WebKit/Source/core/layout/api/LayoutEmbeddedItem.h
index 3dc6e6edf04f479feca16567e31f80cf46aa8735..6392c945fe33a44dfbb5164ba36fd6dcb99ba687 100644
--- a/third_party/WebKit/Source/core/layout/api/LayoutEmbeddedItem.h
+++ b/third_party/WebKit/Source/core/layout/api/LayoutEmbeddedItem.h
@@ -16,7 +16,7 @@ class LayoutEmbeddedItem : public LayoutPartItem {
: LayoutPartItem(layoutEmbeddedObject) {}
explicit LayoutEmbeddedItem(const LayoutItem& item) : LayoutPartItem(item) {
- ASSERT_WITH_SECURITY_IMPLICATION(!item || item.isEmbeddedObject());
+ SECURITY_DCHECK(!item || item.isEmbeddedObject());
}
explicit LayoutEmbeddedItem(std::nullptr_t) : LayoutPartItem(nullptr) {}

Powered by Google App Engine
This is Rietveld 408576698