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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.h

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/inspector/InspectorResourceContentLoader.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.h b/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.h
index f22b1463f791ec12277a844be4c5a61c8466fbf4..7cdf9d0c8bb59f2bf6e1af442c15ab0034aa15ea 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.h
@@ -17,13 +17,12 @@ namespace blink {
class LocalFrame;
class Resource;
-class CORE_EXPORT InspectorResourceContentLoader final : public NoBaseWillBeGarbageCollectedFinalized<InspectorResourceContentLoader> {
+class CORE_EXPORT InspectorResourceContentLoader final : public GarbageCollectedFinalized<InspectorResourceContentLoader> {
WTF_MAKE_NONCOPYABLE(InspectorResourceContentLoader);
- USING_FAST_MALLOC_WILL_BE_REMOVED(InspectorResourceContentLoader);
public:
- static PassOwnPtrWillBeRawPtr<InspectorResourceContentLoader> create(LocalFrame* inspectedFrame)
+ static RawPtr<InspectorResourceContentLoader> create(LocalFrame* inspectedFrame)
{
- return adoptPtrWillBeNoop(new InspectorResourceContentLoader(inspectedFrame));
+ return (new InspectorResourceContentLoader(inspectedFrame));
}
~InspectorResourceContentLoader();
void dispose();
@@ -45,9 +44,9 @@ private:
Vector<OwnPtr<Closure>> m_callbacks;
bool m_allRequestsStarted;
bool m_started;
- RawPtrWillBeMember<LocalFrame> m_inspectedFrame;
- WillBeHeapHashSet<RawPtrWillBeMember<ResourceClient>> m_pendingResourceClients;
- WillBeHeapVector<RefPtrWillBeMember<Resource>> m_resources;
+ Member<LocalFrame> m_inspectedFrame;
+ HeapHashSet<Member<ResourceClient>> m_pendingResourceClients;
+ HeapVector<Member<Resource>> m_resources;
friend class ResourceClient;
};

Powered by Google App Engine
This is Rietveld 408576698