| Index: third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp b/third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp
|
| index ddc46de7168501f4685931938c7b73beb50a55e5..82e0d4b93db065408c942ac968a12f6b3a49c188 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp
|
| @@ -107,7 +107,7 @@ static String initiatorFor(const StringImpl* tagImpl)
|
|
|
| static bool mediaAttributeMatches(const MediaValuesCached& mediaValues, const String& attributeValue)
|
| {
|
| - RefPtrWillBeRawPtr<MediaQuerySet> mediaQueries = MediaQuerySet::createOffMainThread(attributeValue);
|
| + RawPtr<MediaQuerySet> mediaQueries = MediaQuerySet::createOffMainThread(attributeValue);
|
| MediaQueryEvaluator mediaQueryEvaluator(mediaValues);
|
| return mediaQueryEvaluator.eval(mediaQueries.get());
|
| }
|
| @@ -115,7 +115,7 @@ static bool mediaAttributeMatches(const MediaValuesCached& mediaValues, const St
|
| class TokenPreloadScanner::StartTagScanner {
|
| STACK_ALLOCATED();
|
| public:
|
| - StartTagScanner(const StringImpl* tagImpl, PassRefPtrWillBeRawPtr<MediaValuesCached> mediaValues)
|
| + StartTagScanner(const StringImpl* tagImpl, RawPtr<MediaValuesCached> mediaValues)
|
| : m_tagImpl(tagImpl)
|
| , m_linkIsStyleSheet(false)
|
| , m_linkTypeIsMissingOrSupportedStyleSheet(true)
|
| @@ -436,7 +436,7 @@ private:
|
| bool m_sourceSizeSet;
|
| FetchRequest::DeferOption m_defer;
|
| CrossOriginAttributeValue m_crossOrigin;
|
| - RefPtrWillBeMember<MediaValuesCached> m_mediaValues;
|
| + Member<MediaValuesCached> m_mediaValues;
|
| bool m_referrerPolicySet;
|
| ReferrerPolicy m_referrerPolicy;
|
| IntegrityMetadataSet m_integrityMetadata;
|
| @@ -678,7 +678,7 @@ void HTMLPreloadScanner::scan(ResourcePreloader* preloader, const KURL& starting
|
| preloader->takeAndPreload(requests);
|
| }
|
|
|
| -CachedDocumentParameters::CachedDocumentParameters(Document* document, PassRefPtrWillBeRawPtr<MediaValuesCached> givenMediaValues)
|
| +CachedDocumentParameters::CachedDocumentParameters(Document* document, RawPtr<MediaValuesCached> givenMediaValues)
|
| {
|
| ASSERT(isMainThread());
|
| ASSERT(document);
|
|
|