Unreviewed, rolling out r143100.
[WebKit-https.git] / LayoutTests / inspector / debugger / live-edit-breakpoints.html
index 75c1a000f388e9539e060c34b38a28ac18485fd9..a0ebc0c335c9f44db340f3bf639eef12f8a67f77 100644 (file)
@@ -39,8 +39,8 @@ function test()
         for (var i = 0; i < locations.length; ++i) {
             var uiLocation = locations[i].uiLocation;
             var uiSourceCode = uiLocation.uiSourceCode;
-            var project = uiSourceCode.project();
-            InspectorTest.addResult("        url: " + pathToFileName(uiSourceCode.originURL()) + ", lineNumber: " + uiLocation.lineNumber + ", project type: " + project.type() + ", project id: " + project.id());
+            var project = WebInspector.workspace.projectForUISourceCode(uiSourceCode);
+            InspectorTest.addResult("        url: " + pathToFileName(uiSourceCode.originURL()) + ", lineNumber: " + uiLocation.lineNumber + ", project name: " + project.id());
         }
     }