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

Unified Diff: third_party/WebKit/Source/core/fetch/LinkFetchResource.cpp

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: ASSERT_UNUSED 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/fetch/LinkFetchResource.cpp
diff --git a/third_party/WebKit/Source/core/fetch/LinkFetchResource.cpp b/third_party/WebKit/Source/core/fetch/LinkFetchResource.cpp
index 02d01ed41877041e7a48087076a45174150654d8..1c5164e16cfa5085738862a3687d62d7deee3b7f 100644
--- a/third_party/WebKit/Source/core/fetch/LinkFetchResource.cpp
+++ b/third_party/WebKit/Source/core/fetch/LinkFetchResource.cpp
@@ -12,8 +12,8 @@ namespace blink {
Resource* LinkFetchResource::fetch(Resource::Type type, FetchRequest& request, ResourceFetcher* fetcher)
{
- ASSERT(type == LinkPrefetch);
- ASSERT(request.resourceRequest().frameType() == WebURLRequest::FrameTypeNone);
+ DCHECK(type == LinkPrefetch);
yhirano 2016/09/12 04:33:11 DCHECK_EQ
hiroshige 2016/09/13 08:43:18 Done.
+ DCHECK(request.resourceRequest().frameType() == WebURLRequest::FrameTypeNone);
yhirano 2016/09/12 04:33:11 ditto
hiroshige 2016/09/13 08:43:18 Done.
fetcher->determineRequestContext(request.mutableResourceRequest(), type);
return fetcher->requestResource(request, LinkResourceFactory(type));
}

Powered by Google App Engine
This is Rietveld 408576698