Index: Source/core/inspector/InspectorPageAgent.cpp |
diff --git a/Source/core/inspector/InspectorPageAgent.cpp b/Source/core/inspector/InspectorPageAgent.cpp |
index 49d2fb7afc980b926cdb1338848977769cdaf5fb..6846400cbc33b87ef3ee5fee1b9b77ae38bc09e9 100644 |
--- a/Source/core/inspector/InspectorPageAgent.cpp |
+++ b/Source/core/inspector/InspectorPageAgent.cpp |
@@ -242,9 +242,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 |
@@ -1275,5 +1275,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 |