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

Unified Diff: third_party/WebKit/Source/core/html/LinkStyle.cpp

Issue 2941883003: [ServiceWorker] Fetch event should return integrity value (Closed)
Patch Set: Rebase Created 3 years, 6 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/html/LinkStyle.cpp
diff --git a/third_party/WebKit/Source/core/html/LinkStyle.cpp b/third_party/WebKit/Source/core/html/LinkStyle.cpp
index 3a49da419821def6669c6b4b038936c016a9ec5d..cbc25c7c041d9826e611c5c08ab3e660fbbdc34c 100644
--- a/third_party/WebKit/Source/core/html/LinkStyle.cpp
+++ b/third_party/WebKit/Source/core/html/LinkStyle.cpp
@@ -353,6 +353,7 @@ LinkStyle::LoadReturnValue LinkStyle::LoadStylesheetIfNeeded(
IntegrityMetadataSet metadata_set;
SubresourceIntegrity::ParseIntegrityAttribute(integrity_attr, metadata_set);
params.SetIntegrityMetadata(metadata_set);
+ params.SetIntegrityValue(integrity_attr);
}
SetResource(CSSStyleSheetResource::Fetch(params, GetDocument().Fetcher()));

Powered by Google App Engine
This is Rietveld 408576698