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

Unified Diff: third_party/WebKit/Source/core/loader/FrameFetchContext.h

Issue 2327643003: Replace ASSERT*() with DCHECK*() in core/fetch/ and core/loader/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replace many DCHECK(a && b) with DCHECK(a) and DCHECK(b) Created 4 years, 3 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/loader/FrameFetchContext.h
diff --git a/third_party/WebKit/Source/core/loader/FrameFetchContext.h b/third_party/WebKit/Source/core/loader/FrameFetchContext.h
index b1c26fb9f90e0b78ac203434c5108b7d500c7249..15f9d2e0f4f5837aa43fa79a2e6eb608f966fba3 100644
--- a/third_party/WebKit/Source/core/loader/FrameFetchContext.h
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.h
@@ -57,8 +57,8 @@ public:
static void provideDocumentToContext(FetchContext& context, Document* document)
{
- ASSERT(document);
- RELEASE_ASSERT(context.isLiveContext());
+ DCHECK(document);
+ CHECK(context.isLiveContext());
static_cast<FrameFetchContext&>(context).m_document = document;
}

Powered by Google App Engine
This is Rietveld 408576698