Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/switch-file.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/switch-file.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/switch-file.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/switch-file.html
index 143f20759226b26c10535c3c6727a680d029b467..a0ee0f5dd421d272ca1821c8cf10dce1b896c3af 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/switch-file.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/switch-file.html
@@ -9,8 +9,8 @@ function test()
var uiSourceCodes = [];
function addUISourceCode(url)
{
- var contentProvider = WebInspector.StaticContentProvider.fromString(url, WebInspector.resourceTypes.Script, "");
- var uiSourceCode = WebInspector.NetworkProject.forTarget(InspectorTest.mainTarget).addFile(contentProvider, InspectorTest.mainFrame(), false);
+ var contentProvider = Common.StaticContentProvider.fromString(url, Common.resourceTypes.Script, "");
+ var uiSourceCode = Bindings.NetworkProject.forTarget(InspectorTest.mainTarget).addFile(contentProvider, InspectorTest.mainFrame(), false);
uiSourceCodes.push(uiSourceCode);
}
@@ -46,7 +46,7 @@ function test()
InspectorTest.addResult("Dumping next file for each file:");
for (var i = 0; i < uiSourceCodes.length; ++i) {
var uiSourceCode = uiSourceCodes[i];
- var nextUISourceCode = WebInspector.SourcesView.SwitchFileActionDelegate._nextFile(uiSourceCode);
+ var nextUISourceCode = Sources.SourcesView.SwitchFileActionDelegate._nextFile(uiSourceCode);
var nextURI = nextUISourceCode ? nextUISourceCode.url() : "<none>";
InspectorTest.addResult("Next file for " + uiSourceCode.url() + " is " + nextURI + ".");
}

Powered by Google App Engine
This is Rietveld 408576698