Index: LayoutTests/inspector/sources/debugger/watch-expressions-panel-switch.html |
diff --git a/LayoutTests/inspector/sources/debugger/watch-expressions-panel-switch.html b/LayoutTests/inspector/sources/debugger/watch-expressions-panel-switch.html |
index 1f7268de56b5aa299e5538d4b769dcc91d293f9b..a01144bf28154e217b6d183524f5f24138e3d0db 100644 |
--- a/LayoutTests/inspector/sources/debugger/watch-expressions-panel-switch.html |
+++ b/LayoutTests/inspector/sources/debugger/watch-expressions-panel-switch.html |
@@ -30,7 +30,7 @@ var test = function() |
watchExpressionsSection.watchExpressions.push("windowa.document"); |
watchExpressionsSection.update(); |
- var testName = WebInspector.resourceTreeModel.inspectedPageURL(); |
+ var testName = InspectorTest.resourceTreeModel.inspectedPageURL(); |
testName = testName.substring(testName.lastIndexOf('/') + 1); |
InspectorTest.showScriptSource(testName, didShowScriptSource); |
} |