Index: Source/modules/indexeddb/InspectorIndexedDBAgent.cpp |
diff --git a/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp b/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp |
index 5f7c4a975935beb0940d7d991b1c6fbdb9716f6f..51e784655ed17236eb92c348cea717eb3efbd025 100644 |
--- a/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp |
+++ b/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp |
@@ -553,7 +553,7 @@ LocalFrame* findFrameWithSecurityOrigin(Page* page, const String& securityOrigin |
void InspectorIndexedDBAgent::provideTo(Page* page) |
{ |
- OwnPtr<InspectorIndexedDBAgent> agent(adoptPtr(new InspectorIndexedDBAgent(page))); |
+ OwnPtrWillBeRawPtr<InspectorIndexedDBAgent> agent(adoptPtrWillBeNoop(new InspectorIndexedDBAgent(page))); |
page->inspectorController().registerModuleAgent(agent.release()); |
} |
@@ -773,4 +773,10 @@ void InspectorIndexedDBAgent::clearObjectStore(ErrorString* errorString, const S |
clearObjectStore->start(idbFactory, document->securityOrigin(), databaseName); |
} |
+void InspectorIndexedDBAgent::trace(Visitor* visitor) |
+{ |
+ visitor->trace(m_page); |
+ InspectorBaseAgent::trace(visitor); |
+} |
+ |
} // namespace WebCore |