| Index: Source/core/inspector/InjectedScriptHost.h
|
| diff --git a/Source/core/inspector/InjectedScriptHost.h b/Source/core/inspector/InjectedScriptHost.h
|
| index a7a251d19d7b9c07002825238964e8edf00f2734..8783e9653a967927780ac278c8735178be4c52d8 100644
|
| --- a/Source/core/inspector/InjectedScriptHost.h
|
| +++ b/Source/core/inspector/InjectedScriptHost.h
|
| @@ -56,10 +56,11 @@ struct EventListenerInfo;
|
| // InjectedScriptHost must never implemment methods that have more power over the page than the
|
| // page already has itself (e.g. origin restriction bypasses).
|
|
|
| -class InjectedScriptHost : public RefCounted<InjectedScriptHost>, public ScriptWrappable {
|
| +class InjectedScriptHost : public RefCountedWillBeGarbageCollectedFinalized<InjectedScriptHost>, public ScriptWrappable {
|
| public:
|
| - static PassRefPtr<InjectedScriptHost> create();
|
| + static PassRefPtrWillBeRawPtr<InjectedScriptHost> create();
|
| ~InjectedScriptHost();
|
| + void trace(Visitor*);
|
|
|
| void init(InstrumentingAgents* instrumentingAgents, ScriptDebugServer* scriptDebugServer)
|
| {
|
| @@ -96,7 +97,7 @@ public:
|
| private:
|
| InjectedScriptHost();
|
|
|
| - InstrumentingAgents* m_instrumentingAgents;
|
| + RawPtrWillBeMember<InstrumentingAgents> m_instrumentingAgents;
|
| ScriptDebugServer* m_scriptDebugServer;
|
| Vector<OwnPtr<InspectableObject> > m_inspectedObjects;
|
| OwnPtr<InspectableObject> m_defaultInspectableObject;
|
|
|