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

Unified Diff: third_party/WebKit/Source/web/PageOverlay.cpp

Issue 1839643009: RELEASE_ASSERT -> CHECK and ASSERT -> DCHECK in web. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Return DCHECK_IS_ON checks. Created 4 years, 9 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/web/PageOverlay.cpp
diff --git a/third_party/WebKit/Source/web/PageOverlay.cpp b/third_party/WebKit/Source/web/PageOverlay.cpp
index 156ad701a6135a3a8bca7b775bb6fb7f28f013b3..34ebc849960321e13a36fcbb600951f40e5f17dc 100644
--- a/third_party/WebKit/Source/web/PageOverlay.cpp
+++ b/third_party/WebKit/Source/web/PageOverlay.cpp
@@ -99,7 +99,7 @@ void PageOverlay::update()
LayoutRect PageOverlay::visualRect() const
{
- ASSERT(m_layer.get());
+ DCHECK(m_layer.get());
return LayoutRect(FloatPoint(), m_layer->size());
}
@@ -110,7 +110,7 @@ IntRect PageOverlay::computeInterestRect(const GraphicsLayer* graphicsLayer, con
void PageOverlay::paintContents(const GraphicsLayer* graphicsLayer, GraphicsContext& gc, GraphicsLayerPaintingPhase phase, const IntRect& interestRect) const
{
- ASSERT(m_layer);
+ DCHECK(m_layer);
m_delegate->paintPageOverlay(*this, gc, interestRect.size());
}
« no previous file with comments | « third_party/WebKit/Source/web/NotificationPermissionClientImpl.cpp ('k') | third_party/WebKit/Source/web/PopupMenuImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698