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

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

Issue 1237983003: Revalidate using the same Resource, attempt #2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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: Source/core/fetch/FontResource.cpp
diff --git a/Source/core/fetch/FontResource.cpp b/Source/core/fetch/FontResource.cpp
index 0009ada0d8a010accd20f72fe7b1de6c85e93144..7a463a6c0eb0304c6b864cec1a2fd47b63b59794 100644
--- a/Source/core/fetch/FontResource.cpp
+++ b/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