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

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: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/graphics 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 4a397351aceebb3aa72b8351d79c31290c3c78db..d1a8992bd4bc6a1f763cacd87d0e0219f306f208 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(
m_layer(std::move(layer)),
m_location(location),
m_bounds(bounds) {
- ASSERT(RuntimeEnabledFeatures::slimmingPaintV2Enabled());
- ASSERT(isForeignLayerType(type));
- ASSERT(m_layer);
+ DCHECK(RuntimeEnabledFeatures::slimmingPaintV2Enabled());
+ DCHECK(isForeignLayerType(type));
+ DCHECK(m_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