| Index: Source/core/inspector/InspectorPageAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorPageAgent.cpp b/Source/core/inspector/InspectorPageAgent.cpp
|
| index e19034109d7f28dde9572b38e7bd4259c6223ba7..6bd3654c8502f103b592415404c539d2e2101d0f 100644
|
| --- a/Source/core/inspector/InspectorPageAgent.cpp
|
| +++ b/Source/core/inspector/InspectorPageAgent.cpp
|
| @@ -243,9 +243,9 @@ bool InspectorPageAgent::dataContent(const char* data, unsigned size, const Stri
|
| return decodeBuffer(data, size, textEncodingName, result);
|
| }
|
|
|
| -PassOwnPtr<InspectorPageAgent> InspectorPageAgent::create(Page* page, InjectedScriptManager* injectedScriptManager, InspectorClient* client, InspectorOverlay* overlay)
|
| +PassOwnPtrWillBeRawPtr<InspectorPageAgent> InspectorPageAgent::create(Page* page, InjectedScriptManager* injectedScriptManager, InspectorClient* client, InspectorOverlay* overlay)
|
| {
|
| - return adoptPtr(new InspectorPageAgent(page, injectedScriptManager, client, overlay));
|
| + return adoptPtrWillBeNoop(new InspectorPageAgent(page, injectedScriptManager, client, overlay));
|
| }
|
|
|
| // static
|
| @@ -1289,5 +1289,11 @@ void InspectorPageAgent::setShowViewportSizeOnResize(ErrorString*, bool show, co
|
| m_state->setBoolean(PageAgentState::showGridOnResize, showGrid && *showGrid);
|
| }
|
|
|
| +void InspectorPageAgent::trace(Visitor* visitor)
|
| +{
|
| + visitor->trace(m_page);
|
| + InspectorBaseAgent::trace(visitor);
|
| +}
|
| +
|
| } // namespace WebCore
|
|
|
|
|