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

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

Issue 2390583002: [WIP] WebFonts cache-aware timeout adaption (Closed)
Patch Set: handle case in RemoteFontFaceSource if cache-aware deactivated in startLoad(), rebase 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 46a06cd63061565546509cb35eba678139840d3e..bc1c44562ded74c5a7dd0580ce167b52a70d9ff2 100644
--- a/third_party/WebKit/Source/core/fetch/Resource.cpp
+++ b/third_party/WebKit/Source/core/fetch/Resource.cpp
@@ -565,6 +565,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