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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.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/inspector/InspectorResourceContentLoader.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.h b/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.h
index ff9ab12643f1cbe503541eabb826050f564e7066..f22b1463f791ec12277a844be4c5a61c8466fbf4 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.h
@@ -6,7 +6,7 @@
#define InspectorResourceContentLoader_h
#include "core/CoreExport.h"
-#include "core/fetch/ResourcePtr.h"
+#include "core/fetch/Resource.h"
#include "wtf/Functional.h"
#include "wtf/HashSet.h"
#include "wtf/Noncopyable.h"
@@ -47,7 +47,7 @@ private:
bool m_started;
RawPtrWillBeMember<LocalFrame> m_inspectedFrame;
WillBeHeapHashSet<RawPtrWillBeMember<ResourceClient>> m_pendingResourceClients;
- Vector<ResourcePtr<Resource>> m_resources;
+ WillBeHeapVector<RefPtrWillBeMember<Resource>> m_resources;
friend class ResourceClient;
};

Powered by Google App Engine
This is Rietveld 408576698