| Index: Source/core/inspector/InspectorPageAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorPageAgent.cpp b/Source/core/inspector/InspectorPageAgent.cpp
|
| index 41bfe9944707411f6c22cb82f5c57aa27af7bc32..8680ba28403bffc641de24f3a8bf8a24687b7741 100644
|
| --- a/Source/core/inspector/InspectorPageAgent.cpp
|
| +++ b/Source/core/inspector/InspectorPageAgent.cpp
|
| @@ -241,9 +241,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
|
| @@ -315,8 +315,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)
|
|
|