| Index: third_party/WebKit/Source/core/html/parser/PreloadRequest.h
|
| diff --git a/third_party/WebKit/Source/core/html/parser/PreloadRequest.h b/third_party/WebKit/Source/core/html/parser/PreloadRequest.h
|
| index 827bbc8fb94112287e7e413f6312c194724f064e..36e2c45d1fb345c215af03f1229608dbe9471f5f 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/PreloadRequest.h
|
| +++ b/third_party/WebKit/Source/core/html/parser/PreloadRequest.h
|
| @@ -68,6 +68,9 @@ public:
|
| return m_integrityMetadata;
|
| }
|
|
|
| + void setScriptHasInvalidTypeOrLanguage() { m_hasInvalidTypeOrLanguage = true; }
|
| + bool scriptHasInvalidTypeOrLanguage() { return m_hasInvalidTypeOrLanguage; }
|
| +
|
| private:
|
| PreloadRequest(const String& initiatorName,
|
| const TextPosition& initiatorPosition,
|
| @@ -110,6 +113,9 @@ private:
|
| RequestType m_requestType;
|
| ReferrerPolicy m_referrerPolicy;
|
| IntegrityMetadataSet m_integrityMetadata;
|
| +
|
| + // Used for deprecation warnings.
|
| + bool m_hasInvalidTypeOrLanguage = false;
|
| };
|
|
|
| typedef Vector<std::unique_ptr<PreloadRequest>> PreloadRequestStream;
|
|
|