Browse Source

fix: Memory > Profiles > Load in DevTools (#15151)

Milan Burda 6 years ago
parent
commit
70c49b78ae
1 changed files with 1 additions and 2 deletions
  1. 1 2
      lib/renderer/inspector.js

+ 1 - 2
lib/renderer/inspector.js

@@ -5,8 +5,7 @@ window.onload = function () {
   window.InspectorFrontendHost.showContextMenuAtPoint = createMenu
 
   // Use dialog API to override file chooser dialog.
-  // Note: It will be moved to UI after Chrome 57.
-  window.Bindings.createFileSelectorElement = createFileSelectorElement
+  window.UI.createFileSelectorElement = createFileSelectorElement
 }
 
 window.confirm = function (message, title) {