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

Unified Diff: third_party/WebKit/Source/devtools/front_end/settings/SettingsScreen.js

Issue 2295693003: DevTools: cleanup WI.NetworkMapping nits (Closed)
Patch Set: Created 4 years, 4 months 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/Source/devtools/front_end/settings/SettingsScreen.js
diff --git a/third_party/WebKit/Source/devtools/front_end/settings/SettingsScreen.js b/third_party/WebKit/Source/devtools/front_end/settings/SettingsScreen.js
index 5a556c9d5c5fdf48c3d3da262e63db11840b814a..7af81db8b5a572c1d9f40d14b47a112f01449fb1 100644
--- a/third_party/WebKit/Source/devtools/front_end/settings/SettingsScreen.js
+++ b/third_party/WebKit/Source/devtools/front_end/settings/SettingsScreen.js
@@ -309,9 +309,9 @@ WebInspector.WorkspaceSettingsTab = function()
/** @type {!Map<string, !WebInspector.EditFileSystemView>} */
this._mappingViewByPath = new Map();
- var fileSystemPaths = WebInspector.isolatedFileSystemManager.fileSystemPaths();
- for (var i = 0; i < fileSystemPaths.length; ++i)
- this._addItem(/** @type {!WebInspector.IsolatedFileSystem} */ (WebInspector.isolatedFileSystemManager.fileSystem(fileSystemPaths[i])));
+ var fileSystems = WebInspector.isolatedFileSystemManager.fileSystems();
+ for (var i = 0; i < fileSystems.length; ++i)
+ this._addItem(fileSystems[i]);
}
WebInspector.WorkspaceSettingsTab.prototype = {

Powered by Google App Engine
This is Rietveld 408576698