| Index: third_party/WebKit/Source/core/frame/SubresourceIntegrity.h
|
| diff --git a/third_party/WebKit/Source/core/frame/SubresourceIntegrity.h b/third_party/WebKit/Source/core/frame/SubresourceIntegrity.h
|
| index 56c6333e90a6a42d3a525ff551dd31b214f7be40..810e6e8b7c5237877b922952aa9b8382fac397cf 100644
|
| --- a/third_party/WebKit/Source/core/frame/SubresourceIntegrity.h
|
| +++ b/third_party/WebKit/Source/core/frame/SubresourceIntegrity.h
|
| @@ -14,7 +14,7 @@
|
|
|
| namespace blink {
|
|
|
| -class Element;
|
| +class Document;
|
| class ExecutionContext;
|
| class KURL;
|
| class Resource;
|
| @@ -31,13 +31,14 @@ class CORE_EXPORT SubresourceIntegrity {
|
| // The versions with the IntegrityMetadataSet passed as the first argument
|
| // assume that the integrity attribute has already been parsed, and the
|
| // IntegrityMetadataSet represents the result of that parsing.
|
| - static bool CheckSubresourceIntegrity(const Element&,
|
| + static bool CheckSubresourceIntegrity(const String& integrityAttribute,
|
| + Document&, // the embedding document
|
| const char* content,
|
| size_t,
|
| const KURL& resourceUrl,
|
| const Resource&);
|
| static bool CheckSubresourceIntegrity(const IntegrityMetadataSet&,
|
| - const Element&,
|
| + Document&,
|
| const char* content,
|
| size_t,
|
| const KURL& resourceUrl,
|
|
|