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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLResourcePreloader.cpp

Issue 2751483005: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in core/html/parser/ (Closed)
Patch Set: rebase Created 3 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/core/html/parser/HTMLResourcePreloader.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLResourcePreloader.cpp b/third_party/WebKit/Source/core/html/parser/HTMLResourcePreloader.cpp
index 3128d7f632741935a7629dae3d3e1502ba904760..edcd3ec90f7784180cec7f3b38b004a54860a3f9 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLResourcePreloader.cpp
+++ b/third_party/WebKit/Source/core/html/parser/HTMLResourcePreloader.cpp
@@ -58,8 +58,8 @@ int HTMLResourcePreloader::countPreloads() {
static void preconnectHost(PreloadRequest* request,
const NetworkHintsInterface& networkHintsInterface) {
- ASSERT(request);
- ASSERT(request->isPreconnect());
+ DCHECK(request);
+ DCHECK(request->isPreconnect());
KURL host(request->baseURL(), request->resourceURL());
if (!host.isValid() || !host.protocolIsInHTTPFamily())
return;

Powered by Google App Engine
This is Rietveld 408576698