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

Unified Diff: third_party/WebKit/Source/core/fetch/RawResource.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: 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/RawResource.h
diff --git a/third_party/WebKit/Source/core/fetch/RawResource.h b/third_party/WebKit/Source/core/fetch/RawResource.h
index 2a5037ff67710263174790aa6738ff2e67ace955..80a0333e8a976d789ff533836751acc3030b6dd1 100644
--- a/third_party/WebKit/Source/core/fetch/RawResource.h
+++ b/third_party/WebKit/Source/core/fetch/RawResource.h
@@ -98,7 +98,7 @@ inline bool isRawResource(const Resource& resource)
#endif
inline RawResource* toRawResource(Resource* resource)
{
- ASSERT_WITH_SECURITY_IMPLICATION(!resource || isRawResource(*resource));
+ SECURITY_DCHECK(!resource || isRawResource(*resource));
return static_cast<RawResource*>(resource);
}

Powered by Google App Engine
This is Rietveld 408576698