Index: Source/modules/webdatabase/DatabaseClient.cpp |
diff --git a/Source/modules/webdatabase/DatabaseClient.cpp b/Source/modules/webdatabase/DatabaseClient.cpp |
index 4f127a117fe52476b5f03e8fb8ce44203a8468aa..b59ecbd577847617c95a8b661252f974b5614022 100644 |
--- a/Source/modules/webdatabase/DatabaseClient.cpp |
+++ b/Source/modules/webdatabase/DatabaseClient.cpp |
@@ -71,11 +71,11 @@ void DatabaseClient::createInspectorAgentFor(Page* page) |
page->inspectorController().registerModuleAgent(inspectorAgent.release()); |
} |
-void provideDatabaseClientTo(Page* page, PassOwnPtr<DatabaseClient> client) |
+void provideDatabaseClientTo(Page& page, PassOwnPtr<DatabaseClient> client) |
{ |
DatabaseClient* clientPtr = client.get(); |
- page->provideSupplement(DatabaseClient::supplementName(), client); |
- clientPtr->createInspectorAgentFor(page); |
+ page.provideSupplement(DatabaseClient::supplementName(), client); |
+ clientPtr->createInspectorAgentFor(&page); |
} |
void provideDatabaseClientToWorker(WorkerClients* workerClients, PassOwnPtr<DatabaseClient> client) |