Index: third_party/WebKit/Source/devtools/front_end/ui/Tooltip.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/Tooltip.js b/third_party/WebKit/Source/devtools/front_end/ui/Tooltip.js |
index 047eefef73d712fc8d93d6a3ec040f449708aeb7..19517c4828663796a47e9560a2361a2c6ff69e39 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/ui/Tooltip.js |
+++ b/third_party/WebKit/Source/devtools/front_end/ui/Tooltip.js |
@@ -113,7 +113,7 @@ UI.Tooltip = class { |
this._tooltipLastOpened = instant ? now : now + UI.Tooltip.Timing.OpeningDelay; |
// Get container element. |
- var container = UI.Dialog.modalHostView().element; |
+ var container = UI.GlassPane.container(/** @type {!Document} */ (anchorElement.ownerDocument)); |
if (!anchorElement.isDescendant(container)) |
container = this.element.parentElement; |