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

Unified Diff: third_party/WebKit/Source/devtools/front_end/components/DOMPresentationUtils.js

Issue 2819183002: [DevTools] Consolidate overlay-related functionality in Overlay domain (Closed)
Patch Set: rebased bad merge 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
Index: third_party/WebKit/Source/devtools/front_end/components/DOMPresentationUtils.js
diff --git a/third_party/WebKit/Source/devtools/front_end/components/DOMPresentationUtils.js b/third_party/WebKit/Source/devtools/front_end/components/DOMPresentationUtils.js
index 679710f759ba437f82a8e5964e9e126408b7275c..1e369ace0d0832d0533709c711f6684786b3fee7 100644
--- a/third_party/WebKit/Source/devtools/front_end/components/DOMPresentationUtils.js
+++ b/third_party/WebKit/Source/devtools/front_end/components/DOMPresentationUtils.js
@@ -117,7 +117,7 @@ Components.DOMPresentationUtils.linkifyNodeReference = function(node, idref) {
link.addEventListener('click', Common.Revealer.reveal.bind(Common.Revealer, node, undefined), false);
link.addEventListener('mouseover', node.highlight.bind(node, undefined, undefined), false);
- link.addEventListener('mouseleave', SDK.DOMModel.hideDOMNodeHighlight.bind(SDK.DOMModel), false);
+ link.addEventListener('mouseleave', () => SDK.OverlayModel.hideDOMNodeHighlight(), false);
return root;
};

Powered by Google App Engine
This is Rietveld 408576698