Index: Source/core/html/parser/HTMLPreloadScanner.h |
diff --git a/Source/core/html/parser/HTMLPreloadScanner.h b/Source/core/html/parser/HTMLPreloadScanner.h |
index d36db65356055f61bb2e1bdf936f8617ca880554..60c6a9cff9a9b43e61c1689a3be182da49453788 100644 |
--- a/Source/core/html/parser/HTMLPreloadScanner.h |
+++ b/Source/core/html/parser/HTMLPreloadScanner.h |
@@ -46,20 +46,20 @@ class HTMLTokenizer; |
class SegmentedString; |
struct CORE_EXPORT CachedDocumentParameters { |
- static PassOwnPtr<CachedDocumentParameters> create(Document* document, PassRefPtr<MediaValues> mediaValues = nullptr) |
+ static PassOwnPtr<CachedDocumentParameters> create(Document* document, PassRefPtrWillBeRawPtr<MediaValues> mediaValues = nullptr) |
{ |
return adoptPtr(new CachedDocumentParameters(document, mediaValues)); |
} |
bool doHtmlPreloadScanning; |
- RefPtr<MediaValues> mediaValues; |
+ RefPtrWillBeCrossThreadPersistent<MediaValues> mediaValues; |
Length defaultViewportMinWidth; |
bool viewportMetaZeroValuesQuirk; |
bool viewportMetaEnabled; |
ReferrerPolicy referrerPolicy; |
private: |
- CachedDocumentParameters(Document*, PassRefPtr<MediaValues>); |
+ CachedDocumentParameters(Document*, PassRefPtrWillBeRawPtr<MediaValues>); |
}; |
class TokenPreloadScanner { |