| Index: Source/core/inspector/InspectorPageAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorPageAgent.cpp b/Source/core/inspector/InspectorPageAgent.cpp
|
| index 977dfe898c5b9b4b85c3e26adafe3f2ff8ba7346..1c19b7b5c9bafc8cb137615d9d485d5147c247f0 100644
|
| --- a/Source/core/inspector/InspectorPageAgent.cpp
|
| +++ b/Source/core/inspector/InspectorPageAgent.cpp
|
| @@ -239,9 +239,9 @@ bool InspectorPageAgent::dataContent(const char* data, unsigned size, const Stri
|
| return decodeBuffer(data, size, textEncodingName, result);
|
| }
|
|
|
| -PassOwnPtr<InspectorPageAgent> InspectorPageAgent::create(InstrumentingAgents* instrumentingAgents, Page* page, InspectorCompositeState* state, InjectedScriptManager* injectedScriptManager, InspectorClient* client, InspectorOverlay* overlay)
|
| +PassRefPtr<InspectorPageAgent> InspectorPageAgent::create(InstrumentingAgents* instrumentingAgents, InspectorState* state, Page* page, InjectedScriptManager* injectedScriptManager, InspectorOverlay* overlay, InspectorClient* client)
|
| {
|
| - return adoptPtr(new InspectorPageAgent(instrumentingAgents, page, state, injectedScriptManager, client, overlay));
|
| + return adoptRef(new InspectorPageAgent(instrumentingAgents, state, page, injectedScriptManager, overlay, client));
|
| }
|
|
|
| // static
|
| @@ -313,8 +313,8 @@ TypeBuilder::Page::ResourceType::Enum InspectorPageAgent::cachedResourceTypeJson
|
| return resourceTypeJson(cachedResourceType(cachedResource));
|
| }
|
|
|
| -InspectorPageAgent::InspectorPageAgent(InstrumentingAgents* instrumentingAgents, Page* page, InspectorCompositeState* inspectorState, InjectedScriptManager* injectedScriptManager, InspectorClient* client, InspectorOverlay* overlay)
|
| - : InspectorBaseAgent<InspectorPageAgent>("Page", instrumentingAgents, inspectorState)
|
| +InspectorPageAgent::InspectorPageAgent(InstrumentingAgents* instrumentingAgents, InspectorState* inspectorState, Page* page, InjectedScriptManager* injectedScriptManager, InspectorOverlay* overlay, InspectorClient* client)
|
| + : InspectorBaseAgent(instrumentingAgents, inspectorState)
|
| , m_page(page)
|
| , m_injectedScriptManager(injectedScriptManager)
|
| , m_client(client)
|
|
|