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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/SuggestBox.js

Issue 2706293007: [DevTools] Fix Dialog's close button to properly close dialog. (Closed)
Patch Set: test Created 3 years, 10 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/ui/SuggestBox.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/SuggestBox.js b/third_party/WebKit/Source/devtools/front_end/ui/SuggestBox.js
index 73d29087fa0349f87c8fa1f4097187f9ddb8d650..592de32a64e1774b10448e9529c00147bac73ef0 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/SuggestBox.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/SuggestBox.js
@@ -129,7 +129,7 @@ UI.SuggestBox = class {
if (this.visible())
return;
// TODO(dgozman): take document as a parameter.
- this._glassPane.showGlassPane(document);
+ this._glassPane.show(document);
this._rowHeight =
UI.measurePreferredSize(this.createElementForItem({text: '1', subtitle: '12'}), this._element).height;
}
@@ -138,7 +138,7 @@ UI.SuggestBox = class {
if (!this.visible())
return;
this._userInteracted = false;
- this._glassPane.hideGlassPane();
+ this._glassPane.hide();
}
/**

Powered by Google App Engine
This is Rietveld 408576698