Index: Source/modules/filesystem/InspectorFrontendHostFileSystem.cpp |
diff --git a/Source/modules/filesystem/InspectorFrontendHostFileSystem.cpp b/Source/modules/filesystem/InspectorFrontendHostFileSystem.cpp |
index 035d7923dfbe724cd61b71ff37245ba7656f9d4c..a609a7f201ee9ea8e299eee31184791a8ea77ec1 100644 |
--- a/Source/modules/filesystem/InspectorFrontendHostFileSystem.cpp |
+++ b/Source/modules/filesystem/InspectorFrontendHostFileSystem.cpp |
@@ -14,13 +14,13 @@ |
namespace WebCore { |
-PassRefPtr<DOMFileSystem> InspectorFrontendHostFileSystem::isolatedFileSystem(InspectorFrontendHost* host, const String& fileSystemName, const String& rootURL) |
+PassRefPtr<DOMFileSystem> InspectorFrontendHostFileSystem::isolatedFileSystem(InspectorFrontendHost& host, const String& fileSystemName, const String& rootURL) |
{ |
- ExecutionContext* context = host->frontendPage()->mainFrame()->document(); |
+ ExecutionContext* context = host.frontendPage()->mainFrame()->document(); |
return DOMFileSystem::create(context, fileSystemName, FileSystemTypeIsolated, KURL(ParsedURLString, rootURL)); |
} |
-void InspectorFrontendHostFileSystem::upgradeDraggedFileSystemPermissions(InspectorFrontendHost* host, DOMFileSystem* domFileSystem) |
+void InspectorFrontendHostFileSystem::upgradeDraggedFileSystemPermissions(InspectorFrontendHost& host, DOMFileSystem* domFileSystem) |
{ |
RefPtr<JSONObject> message = JSONObject::create(); |
message->setNumber("id", 0); |
@@ -28,7 +28,7 @@ void InspectorFrontendHostFileSystem::upgradeDraggedFileSystemPermissions(Inspec |
RefPtr<JSONArray> params = JSONArray::create(); |
message->setArray("params", params); |
params->pushString(domFileSystem->rootURL().string()); |
- host->sendMessageToEmbedder(message->toJSONString()); |
+ host.sendMessageToEmbedder(message->toJSONString()); |
} |
InspectorFrontendHostFileSystem::InspectorFrontendHostFileSystem() { } |