Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698