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

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

Issue 2941883003: [ServiceWorker] Fetch event should return integrity value (Closed)
Patch Set: Rebase and address shimazu and yhirano's comments 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 00230a069e0c130ac6187a67575fa94dc40fbc53..1bab75e340ba4d5b3fc7ae5ac1c95fb0a133b978 100644
--- a/third_party/WebKit/Source/core/html/LinkStyle.cpp
+++ b/third_party/WebKit/Source/core/html/LinkStyle.cpp
@@ -352,6 +352,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