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

Unified Diff: third_party/WebKit/Source/core/frame/FrameViewAutoSizeInfo.cpp

Issue 2858963002: Replace ASSERT with DCHECK in core/ (Closed)
Patch Set: WorkerBackingThread Created 3 years, 7 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/core/frame/FrameViewAutoSizeInfo.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameViewAutoSizeInfo.cpp b/third_party/WebKit/Source/core/frame/FrameViewAutoSizeInfo.cpp
index 61f512eb16a34402bda8b39a8dcedb13ffe19300..416bc538715697a21333c77b991fdcb6f3425de5 100644
--- a/third_party/WebKit/Source/core/frame/FrameViewAutoSizeInfo.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameViewAutoSizeInfo.cpp
@@ -15,7 +15,7 @@ namespace blink {
FrameViewAutoSizeInfo::FrameViewAutoSizeInfo(FrameView* view)
: frame_view_(view), in_auto_size_(false), did_run_autosize_(false) {
- ASSERT(frame_view_);
+ DCHECK(frame_view_);
}
DEFINE_TRACE(FrameViewAutoSizeInfo) {
@@ -24,7 +24,7 @@ DEFINE_TRACE(FrameViewAutoSizeInfo) {
void FrameViewAutoSizeInfo::ConfigureAutoSizeMode(const IntSize& min_size,
const IntSize& max_size) {
- ASSERT(!min_size.IsEmpty());
+ DCHECK(!min_size.IsEmpty());
ASSERT(min_size.Width() <= max_size.Width());
ASSERT(min_size.Height() <= max_size.Height());
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/core/frame/ImageBitmap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698