Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1547)

Unified Diff: Source/modules/indexeddb/InspectorIndexedDBAgent.cpp

Issue 307943002: Oilpan: Prepare moving InspectorController and InspectorAgents to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698