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

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

Issue 2807443002: [DevTools] Fix popover regression in M58 (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/ui/popover.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/ui/Popover.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/Popover.js b/third_party/WebKit/Source/devtools/front_end/ui/Popover.js
index 4036111edd0caf378b969a85449b5918d73b48bf..56779bd0fb5e813bb7485b89d0cc652925e10e43 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/Popover.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/Popover.js
@@ -36,8 +36,9 @@ UI.Popover = class extends UI.Widget {
* @param {!UI.PopoverHelper=} popoverHelper
*/
constructor(popoverHelper) {
- super(true);
+ super(false);
this.markAsRoot();
+ this.element.classList.add('popover-element');
this.registerRequiredCSS('ui/popover.css');
this._containerElement = createElementWithClass('div', 'fill popover-container');
this._popupArrowElement = this.contentElement.createChild('div', 'arrow');
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/ui/popover.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698