Index: third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.cpp b/third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.cpp |
index 717573b92bf05bdedb86b8572ff132526694cee5..35627b7f7f9c2bfbb2fc8fd75479827eb7ba3033 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.cpp |
@@ -23,21 +23,21 @@ ForeignLayerDisplayItem::ForeignLayerDisplayItem( |
layer_(std::move(layer)), |
location_(location), |
bounds_(bounds) { |
- ASSERT(RuntimeEnabledFeatures::slimmingPaintV2Enabled()); |
- ASSERT(IsForeignLayerType(type)); |
- ASSERT(layer_); |
+ DCHECK(RuntimeEnabledFeatures::slimmingPaintV2Enabled()); |
+ DCHECK(IsForeignLayerType(type)); |
+ DCHECK(layer_); |
} |
ForeignLayerDisplayItem::~ForeignLayerDisplayItem() {} |
void ForeignLayerDisplayItem::Replay(GraphicsContext&) const { |
- ASSERT_NOT_REACHED(); |
+ NOTREACHED(); |
} |
void ForeignLayerDisplayItem::AppendToWebDisplayItemList( |
const IntRect&, |
WebDisplayItemList*) const { |
- ASSERT_NOT_REACHED(); |
+ NOTREACHED(); |
} |
bool ForeignLayerDisplayItem::DrawsContent() const { |