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

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

Issue 2390583002: [WIP] WebFonts cache-aware timeout adaption (Closed)
Patch Set: handle font-display: swap 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 bbbd21cb1516b4429b89819dc92ab7a23a14f075..0b00120a0c7f999448e6b6a3534205ec88823d54 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