| 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 2dc4d0b15e12489cf326ffaeee026da6b6bd8092..d8b64d3c637b5dcf122369c3b67ff8e43ef4981d 100644
|
| --- a/third_party/WebKit/Source/core/html/LinkStyle.cpp
|
| +++ b/third_party/WebKit/Source/core/html/LinkStyle.cpp
|
| @@ -89,7 +89,9 @@ void LinkStyle::setCSSStyleSheet(
|
| size = cachedStyleSheet->resourceBuffer()->size();
|
| }
|
| checkResult = SubresourceIntegrity::CheckSubresourceIntegrity(
|
| - *m_owner, data, size, KURL(baseURL, href), *cachedStyleSheet);
|
| + m_owner->fastGetAttribute(HTMLNames::integrityAttr),
|
| + m_owner->document(), data, size, KURL(baseURL, href),
|
| + *cachedStyleSheet);
|
| disposition = checkResult ? ResourceIntegrityDisposition::Passed
|
| : ResourceIntegrityDisposition::Failed;
|
|
|
|
|