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

Unified Diff: third_party/WebKit/Source/core/loader/DocumentLoader.h

Issue 1667843003: Make Resource RefCountedWillBeGarbageCollectedFinalized, attempt #2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase + address review comments 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/loader/DocumentLoader.h
diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.h b/third_party/WebKit/Source/core/loader/DocumentLoader.h
index 7d1f4820f3ee6d0cf248f8ddc9921e54ba323169..f13f8d9266992d74a72e3342ebac2c18f565b334 100644
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.h
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.h
@@ -35,7 +35,6 @@
#include "core/fetch/ClientHintsPreferences.h"
#include "core/fetch/RawResource.h"
#include "core/fetch/ResourceLoaderOptions.h"
-#include "core/fetch/ResourcePtr.h"
#include "core/fetch/SubstituteData.h"
#include "core/frame/csp/ContentSecurityPolicy.h"
#include "core/loader/DocumentLoadTiming.h"
@@ -144,7 +143,7 @@ public:
bool loadingMultipartContent() const;
- ResourcePtr<Resource> startPreload(Resource::Type, FetchRequest&);
+ Resource* startPreload(Resource::Type, FetchRequest&);
DECLARE_VIRTUAL_TRACE();
@@ -189,7 +188,7 @@ private:
RawPtrWillBeMember<LocalFrame> m_frame;
PersistentWillBeMember<ResourceFetcher> m_fetcher;
- ResourcePtr<RawResource> m_mainResource;
+ RefPtrWillBeMember<RawResource> m_mainResource;
RefPtrWillBeMember<DocumentWriter> m_writer;

Powered by Google App Engine
This is Rietveld 408576698