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

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, 9 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 79bdda32c392f1d9ad1749c1d1ba94b3ae571fad..6ec232920b8166b787224ecefaba942a7c4cae6f 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp
+++ b/third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp
@@ -105,7 +105,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());
}
@@ -113,7 +113,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)
@@ -441,7 +441,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;

Powered by Google App Engine
This is Rietveld 408576698