Index: third_party/WebKit/LayoutTests/inspector/sources/debugger/file-system-project-mapping.html |
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger/file-system-project-mapping.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger/file-system-project-mapping.html |
index b557818ed30da29fc0cb06c16cb1a182ae128de4..9e9cb9cd1e57e359a923a7ce04a8aa2184d40bef 100644 |
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger/file-system-project-mapping.html |
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger/file-system-project-mapping.html |
@@ -23,7 +23,7 @@ function test() |
defaultScriptMapping = entry._defaultMapping; |
if (persistence) |
persistence.dispose(); |
- persistence = new Persistence.Persistence(InspectorTest.testWorkspace, Bindings.breakpointManager, Workspace.fileSystemMapping); |
+ persistence = new Persistence.Persistence(InspectorTest.testWorkspace, Bindings.breakpointManager, Persistence.fileSystemMapping); |
} |
function dumpFileSystemUISourceCodesMappings() |
@@ -61,14 +61,14 @@ function test() |
InspectorTest.addResult("Adding mapping between network and file system resources."); |
var fileSystemPath = Persistence.FileSystemWorkspaceBinding.fileSystemPath(uiSourceCode.project().id()); |
- Workspace.fileSystemMapping.addMappingForResource(networkUISourceCode.url(), fileSystemPath, uiSourceCode.url()); |
- var setting = JSON.stringify(Workspace.fileSystemMapping._fileSystemMappingSetting.get()); |
+ Persistence.fileSystemMapping.addMappingForResource(networkUISourceCode.url(), fileSystemPath, uiSourceCode.url()); |
+ var setting = JSON.stringify(Persistence.fileSystemMapping._fileSystemMappingSetting.get()); |
InspectorTest.addResult("Emulate reloading inspector."); |
fs.reportRemoved(); |
createWorkspaceWithTarget(); |
- Workspace.fileSystemMapping._fileSystemMappingSetting.set(JSON.parse(setting)); |
- Workspace.fileSystemMapping._loadFromSettings(); |
+ Persistence.fileSystemMapping._fileSystemMappingSetting.set(JSON.parse(setting)); |
+ Persistence.fileSystemMapping._loadFromSettings(); |
fs.reportCreated(fileSystemCreated2); |
} |
@@ -81,7 +81,7 @@ function test() |
InspectorTest.addResult("Removing mapping between network and file system resources."); |
var uiSourceCode = InspectorTest.testWorkspace.uiSourceCode(fileSystemProjectId, "file:///var/www/html/foo.js"); |
- Workspace.fileSystemMapping.removeMappingForURL(uiSourceCode.url()); |
+ Persistence.fileSystemMapping.removeMappingForURL(uiSourceCode.url()); |
InspectorTest.addResult("Emulate reloading inspector."); |
fs.reportRemoved(); |
@@ -95,7 +95,7 @@ function test() |
InspectorTest.addMockUISourceCodeViaNetwork("http://localhost/bar.js", Common.resourceTypes.Script, "<foo content>", target); |
dumpFileSystemUISourceCodesMappings(); |
- Workspace.fileSystemMapping.removeMappingForURL(networkUISourceCode.url()); |
+ Persistence.fileSystemMapping.removeMappingForURL(networkUISourceCode.url()); |
fs.reportRemoved(); |
next(); |
} |