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

Unified Diff: third_party/WebKit/Source/web/RotationViewportAnchor.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/RotationViewportAnchor.cpp
diff --git a/third_party/WebKit/Source/web/RotationViewportAnchor.cpp b/third_party/WebKit/Source/web/RotationViewportAnchor.cpp
index 674c9333c60cb8909d666b576d09ff798fbccc84..8cf142521e35d86642241abb76f2f14309e8adc9 100644
--- a/third_party/WebKit/Source/web/RotationViewportAnchor.cpp
+++ b/third_party/WebKit/Source/web/RotationViewportAnchor.cpp
@@ -122,10 +122,10 @@ void RotationViewportAnchor::setAnchor()
return;
// Inner rectangle should be within the outer one.
- ASSERT(outerViewRect.contains(innerViewRect));
+ DCHECK(outerViewRect.contains(innerViewRect));
// Outer rectangle is used as a scale, we need positive width and height.
- ASSERT(!outerViewRect.isEmpty());
+ DCHECK(!outerViewRect.isEmpty());
m_normalizedVisualViewportOffset = FloatSize(innerViewRect.location() - outerViewRect.location());
« no previous file with comments | « third_party/WebKit/Source/web/RemoteFrameOwner.cpp ('k') | third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698