From ba41625582b0e3e6e5e5599581911ee7ab1e13e0 Mon Sep 17 00:00:00 2001 From: yuzus Date: Sun, 31 Jan 2016 19:59:07 -0800 Subject: [PATCH] Change Event.deepPath to a method In order to make clear that computation is performed, Event.deepPath has been changed to a method Event.deepPath(), that returns sequence. See the discussion here: https://github.com/w3c/webcomponents/issues/361 Described in the spec here : http://w3c.github.io/webcomponents/spec/shadow/#widl-Event-deepPath-sequence-EventTarget See the spec change here: https://github.com/w3c/webcomponents/commit/ed93413f9a37a6bfbd774cb2e09e14a76c87d56c BUG=531990 Review URL: https://codereview.chromium.org/1637813002 Cr-Commit-Position: refs/heads/master@{#372596} --- front_end/ui/Tooltip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front_end/ui/Tooltip.js b/front_end/ui/Tooltip.js index 0739889fa1..9dd3547b60 100644 --- a/front_end/ui/Tooltip.js +++ b/front_end/ui/Tooltip.js @@ -33,7 +33,7 @@ WebInspector.Tooltip.prototype = { */ _mouseMove: function(event) { - var path = event.deepPath ? event.deepPath : event.path; + var path = event.deepPath() ? event.deepPath() : event.path; if (!path || event.buttons !== 0) return;