| 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 cd58c5e020106b230684e667496a0a1923284708..143f20759226b26c10535c3c6727a680d029b467 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,7 +9,7 @@ function test()
|
| var uiSourceCodes = [];
|
| function addUISourceCode(url)
|
| {
|
| - var contentProvider = new WebInspector.StaticContentProvider(url, WebInspector.resourceTypes.Script, Promise.resolve(""));
|
| + var contentProvider = WebInspector.StaticContentProvider.fromString(url, WebInspector.resourceTypes.Script, "");
|
| var uiSourceCode = WebInspector.NetworkProject.forTarget(InspectorTest.mainTarget).addFile(contentProvider, InspectorTest.mainFrame(), false);
|
| uiSourceCodes.push(uiSourceCode);
|
| }
|
|
|