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

Unified Diff: third_party/WebKit/Source/devtools/front_end/main/Main.js

Issue 2296983003: DevTools: kill WI.IsolatedFileSystemManager FileSystemsLoaded event (Closed)
Patch Set: remove nested arrow 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/main/Main.js
diff --git a/third_party/WebKit/Source/devtools/front_end/main/Main.js b/third_party/WebKit/Source/devtools/front_end/main/Main.js
index fa7d92416e4e2964a9c48b079effb6ea504cca24..4a1148feeb90948948eef7d8e79fd2808417cc86 100644
--- a/third_party/WebKit/Source/devtools/front_end/main/Main.js
+++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js
@@ -136,7 +136,8 @@ WebInspector.Main.prototype = {
// Request filesystems early, we won't create connections until callback is fired. Things will happen in parallel.
WebInspector.isolatedFileSystemManager = new WebInspector.IsolatedFileSystemManager();
- WebInspector.isolatedFileSystemManager.initialize(this._didInitializeFileSystemManager.bind(this));
+ WebInspector.isolatedFileSystemManager.waitForFileSystems()
+ .then(this._didInitializeFileSystemManager.bind(this));
var themeSetting = WebInspector.settings.createSetting("uiTheme", "default");
WebInspector.initializeUIUtils(document, themeSetting);

Powered by Google App Engine
This is Rietveld 408576698