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

Unified Diff: third_party/WebKit/Source/core/fetch/ResourceFetcher.h

Issue 1852663002: Oilpan: Remove WillBe types (part 9) (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/fetch/ResourceFetcher.h
diff --git a/third_party/WebKit/Source/core/fetch/ResourceFetcher.h b/third_party/WebKit/Source/core/fetch/ResourceFetcher.h
index 97c9db75f955329deeec688349e1167b9fb487aa..397d5b9f476951bc8c77b9256d7115417d047977 100644
--- a/third_party/WebKit/Source/core/fetch/ResourceFetcher.h
+++ b/third_party/WebKit/Source/core/fetch/ResourceFetcher.h
@@ -67,17 +67,17 @@ class ResourceLoaderSet;
// alive past detach if scripts still reference the Document.
class CORE_EXPORT ResourceFetcher : public GarbageCollectedFinalized<ResourceFetcher> {
WTF_MAKE_NONCOPYABLE(ResourceFetcher);
- WILL_BE_USING_PRE_FINALIZER(ResourceFetcher, clearPreloads);
+ USING_PRE_FINALIZER(ResourceFetcher, clearPreloads);
public:
static ResourceFetcher* create(FetchContext* context) { return new ResourceFetcher(context); }
virtual ~ResourceFetcher();
DECLARE_VIRTUAL_TRACE();
- PassRefPtrWillBeRawPtr<Resource> requestResource(FetchRequest&, const ResourceFactory&, const SubstituteData& = SubstituteData());
+ RawPtr<Resource> requestResource(FetchRequest&, const ResourceFactory&, const SubstituteData& = SubstituteData());
Resource* cachedResource(const KURL&) const;
- using DocumentResourceMap = WillBeHeapHashMap<String, WeakPtrWillBeWeakMember<Resource>>;
+ using DocumentResourceMap = HeapHashMap<String, WeakMember<Resource>>;
const DocumentResourceMap& allResources() const { return m_documentResources; }
void setAutoLoadImages(bool);
@@ -146,7 +146,7 @@ public:
void reloadLoFiImages();
// This is only exposed for testing purposes.
- WillBeHeapListHashSet<RefPtrWillBeMember<Resource>>* preloads() { return m_preloads.get(); }
+ HeapListHashSet<Member<Resource>>* preloads() { return m_preloads.get(); }
private:
friend class ResourceCacheValidationSuppressor;
@@ -154,10 +154,10 @@ private:
explicit ResourceFetcher(FetchContext*);
void initializeRevalidation(const FetchRequest&, Resource*);
- PassRefPtrWillBeRawPtr<Resource> createResourceForLoading(FetchRequest&, const String& charset, const ResourceFactory&);
+ RawPtr<Resource> createResourceForLoading(FetchRequest&, const String& charset, const ResourceFactory&);
void storeResourceTimingInitiatorInformation(Resource*);
- PassRefPtrWillBeRawPtr<Resource> resourceForStaticData(const FetchRequest&, const ResourceFactory&, const SubstituteData&);
+ RawPtr<Resource> resourceForStaticData(const FetchRequest&, const ResourceFactory&, const SubstituteData&);
// RevalidationPolicy enum values are used in UMAs https://crbug.com/579496.
enum RevalidationPolicy { Use, Revalidate, Reload, Load };
@@ -181,12 +181,12 @@ private:
HashSet<String> m_validatedURLs;
mutable DocumentResourceMap m_documentResources;
- OwnPtrWillBeMember<WillBeHeapListHashSet<RefPtrWillBeMember<Resource>>> m_preloads;
- RefPtrWillBeMember<MHTMLArchive> m_archive;
+ Member<HeapListHashSet<Member<Resource>>> m_preloads;
+ Member<MHTMLArchive> m_archive;
Timer<ResourceFetcher> m_resourceTimingReportTimer;
- using ResourceTimingInfoMap = WillBeHeapHashMap<RawPtrWillBeMember<Resource>, OwnPtr<ResourceTimingInfo>>;
+ using ResourceTimingInfoMap = HeapHashMap<Member<Resource>, OwnPtr<ResourceTimingInfo>>;
ResourceTimingInfoMap m_resourceTimingInfoMap;
Vector<OwnPtr<ResourceTimingInfo>> m_scheduledResourceTimingReports;
« no previous file with comments | « third_party/WebKit/Source/core/fetch/Resource.cpp ('k') | third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698