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

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, 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/inspector/InspectorBaseAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h b/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h
index 6765b2d108c0b2221277cf43925f58e80e1e4c6d..d3a0f0441c4d75dc220c8fe2d86dae2f3dc0dce8 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h
@@ -51,8 +51,7 @@ class LocalFrame;
using protocol::Maybe;
-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();
@@ -73,7 +72,7 @@ public:
void appended(InstrumentingAgents*);
protected:
- RawPtrWillBeMember<InstrumentingAgents> m_instrumentingAgents;
+ Member<InstrumentingAgents> m_instrumentingAgents;
protocol::DictionaryValue* m_state;
private:
@@ -85,7 +84,7 @@ class CORE_EXPORT InspectorAgentRegistry final {
WTF_MAKE_NONCOPYABLE(InspectorAgentRegistry);
public:
explicit InspectorAgentRegistry(InstrumentingAgents*);
- void append(PassOwnPtrWillBeRawPtr<InspectorAgent>);
+ void append(RawPtr<InspectorAgent>);
void setFrontend(protocol::Frontend*);
void clearFrontend();
@@ -99,9 +98,9 @@ public:
DECLARE_TRACE();
private:
- RawPtrWillBeMember<InstrumentingAgents> m_instrumentingAgents;
+ Member<InstrumentingAgents> m_instrumentingAgents;
OwnPtr<protocol::DictionaryValue> 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