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

Unified Diff: third_party/WebKit/Source/core/dom/Document.cpp

Issue 1615803004: Avoid double download for late discovered link preload resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Permit memcache removal when ResourceFetcher is destroyed Created 4 years, 11 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/dom/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index 681c3f1294106099e26e9b5e690e39038250a3bb..b3b89ea068fef4f5ad209f45ce7c6982c35e834d 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -4748,7 +4748,7 @@ void Document::finishedParsing()
m_elementDataCacheClearTimer.startOneShot(10, BLINK_FROM_HERE);
// Parser should have picked up all preloads by now
- m_fetcher->clearPreloads();
+ m_fetcher->clearPreloads(ResourceFetcher::ClearSpeculativeMarkupPreloads);
}
void Document::elementDataCacheClearTimerFired(Timer<Document>*)

Powered by Google App Engine
This is Rietveld 408576698