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

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

Issue 2390583002: [WIP] WebFonts cache-aware timeout adaption (Closed)
Patch Set: check ERR_CACHE_MISS directly in ResourceError Created 4 years, 2 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/Resource.cpp
diff --git a/third_party/WebKit/Source/core/fetch/Resource.cpp b/third_party/WebKit/Source/core/fetch/Resource.cpp
index 3a937017800c938ce4b56e9dd84e304123061e35..79c3bab4bf438d041f9bffc10521caef0d1c8a64 100644
--- a/third_party/WebKit/Source/core/fetch/Resource.cpp
+++ b/third_party/WebKit/Source/core/fetch/Resource.cpp
@@ -564,6 +564,7 @@ const ResourceRequest& Resource::lastResourceRequest() const {
void Resource::setRevalidatingRequest(const ResourceRequest& request) {
SECURITY_CHECK(m_redirectChain.isEmpty());
DCHECK(!request.isNull());
+ DCHECK(!request.isCacheAwareLoadingActivated());
m_isRevalidating = true;
m_resourceRequest = request;
m_status = NotStarted;

Powered by Google App Engine
This is Rietveld 408576698