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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorBaseAgent.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/InspectorBaseAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h b/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h
index ebc9a41b40577c75408dc54713d0adbfc768e9ae..5acbb115a2b33523130248ff354f25f608b445b7 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h
@@ -46,8 +46,7 @@ class InspectorFrontend;
class InstrumentingAgents;
class LocalFrame;
-class CORE_EXPORT InspectorAgent : public NoBaseWillBeGarbageCollectedFinalized<InspectorAgent> {
- USING_FAST_MALLOC_WILL_BE_REMOVED(InspectorAgent);
+class CORE_EXPORT InspectorAgent : public GarbageCollectedFinalized<InspectorAgent> {
public:
explicit InspectorAgent(const String&);
virtual ~InspectorAgent();
@@ -68,7 +67,7 @@ public:
void appended(InstrumentingAgents*);
protected:
- RawPtrWillBeMember<InstrumentingAgents> m_instrumentingAgents;
+ Member<InstrumentingAgents> m_instrumentingAgents;
RefPtr<JSONObject> m_state;
private:
@@ -80,7 +79,7 @@ class CORE_EXPORT InspectorAgentRegistry final {
WTF_MAKE_NONCOPYABLE(InspectorAgentRegistry);
public:
explicit InspectorAgentRegistry(InstrumentingAgents*);
- void append(PassOwnPtrWillBeRawPtr<InspectorAgent>);
+ void append(RawPtr<InspectorAgent>);
void setFrontend(InspectorFrontend*);
void clearFrontend();
@@ -94,9 +93,9 @@ public:
DECLARE_TRACE();
private:
- RawPtrWillBeMember<InstrumentingAgents> m_instrumentingAgents;
+ Member<InstrumentingAgents> m_instrumentingAgents;
RefPtr<JSONObject> m_state;
- WillBeHeapVector<OwnPtrWillBeMember<InspectorAgent> > m_agents;
+ HeapVector<Member<InspectorAgent> > m_agents;
};
template<typename AgentClass, typename FrontendClass>

Powered by Google App Engine
This is Rietveld 408576698