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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.cpp

Issue 2807923002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/graphics (Closed)
Patch Set: fix typo Created 3 years, 8 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/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 {

Powered by Google App Engine
This is Rietveld 408576698