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

Unified Diff: Source/devtools/front_end/timeline/LayerTreeOutline.js

Issue 669113002: DevTools: replace mouseout with mouseleave where possible. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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: Source/devtools/front_end/timeline/LayerTreeOutline.js
diff --git a/Source/devtools/front_end/timeline/LayerTreeOutline.js b/Source/devtools/front_end/timeline/LayerTreeOutline.js
index 5a9e35a8d662241dde9235bedaa6a06c66161af5..280edc19b3f3b452af729cbc40826d8dc6e3e93f 100644
--- a/Source/devtools/front_end/timeline/LayerTreeOutline.js
+++ b/Source/devtools/front_end/timeline/LayerTreeOutline.js
@@ -38,7 +38,7 @@ WebInspector.LayerTreeOutline = function(treeOutline)
WebInspector.Object.call(this);
this._treeOutline = treeOutline;
this._treeOutline.childrenListElement.addEventListener("mousemove", this._onMouseMove.bind(this), false);
- this._treeOutline.childrenListElement.addEventListener("mouseout", this._onMouseMove.bind(this), false);
+ this._treeOutline.childrenListElement.addEventListener("mouseleave", this._onMouseMove.bind(this), false);
this._treeOutline.childrenListElement.addEventListener("contextmenu", this._onContextMenu.bind(this), true);
this._lastHoveredNode = null;
}

Powered by Google App Engine
This is Rietveld 408576698