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

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

Issue 1398523004: Revalidate using the same Resource, attempt #3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/FontResource.cpp
diff --git a/third_party/WebKit/Source/core/fetch/FontResource.cpp b/third_party/WebKit/Source/core/fetch/FontResource.cpp
index 0009ada0d8a010accd20f72fe7b1de6c85e93144..7a463a6c0eb0304c6b864cec1a2fd47b63b59794 100644
--- a/third_party/WebKit/Source/core/fetch/FontResource.cpp
+++ b/third_party/WebKit/Source/core/fetch/FontResource.cpp
@@ -104,6 +104,8 @@ void FontResource::load(ResourceFetcher*, const ResourceLoaderOptions& options)
// Don't load the file yet. Wait for an access before triggering the load.
setLoading(true);
m_options = options;
+ if (!m_revalidatingRequest.isNull())
+ m_state = Unloaded;
}
void FontResource::didAddClient(ResourceClient* c)

Powered by Google App Engine
This is Rietveld 408576698