Index: third_party/WebKit/Source/devtools/front_end/ui/Dialog.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js b/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js |
index cace1a296af311e3c4a53e4de98a49a7b21dcea4..b905558849c8ab93c35bc1a815e82890b37ebd7c 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js |
+++ b/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js |
@@ -61,7 +61,7 @@ UI.Dialog = class extends UI.GlassPane { |
var document = /** @type {!Document} */ ( |
where instanceof Document ? where : (where || UI.inspectorView.element).ownerDocument); |
if (UI.Dialog._instance) |
- UI.Dialog._instance.detach(); |
+ UI.Dialog._instance.hide(); |
UI.Dialog._instance = this; |
this._disableTabIndexOnElements(document); |
super.show(document); |