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

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

Issue 1577073005: Add <link rel=preload> onload support for scripts and styles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed lifetime issue of LinkPreloadResourceClients 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/fetch/CSSStyleSheetResource.cpp
diff --git a/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp b/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp
index 53fc85d10c599657bbfb810fa8e3abfc40f92c7f..6d0a5b164073427daea2bf725c7bed250ec70eee 100644
--- a/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp
+++ b/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp
@@ -120,6 +120,7 @@ void CSSStyleSheetResource::checkNotify()
c->setCSSStyleSheet(m_resourceRequest.url(), m_response.url(), encoding(), this);
// Clear the decoded text as it is unlikely to be needed immediately again and is cheap to regenerate.
m_decodedSheetText = String();
+ Resource::checkNotify();
Nate Chapin 2016/01/13 23:52:23 As long as CSSStyleSheetResource has its own speci
Yoav Weiss 2016/01/14 10:10:02 Previous iterations made me believe that this is n
}
bool CSSStyleSheetResource::isSafeToUnlock() const

Powered by Google App Engine
This is Rietveld 408576698