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

Unified Diff: third_party/WebKit/Source/devtools/front_end/resources/ResourcesSection.js

Issue 2835843002: Revert of [DevTools] Consolidate overlay-related functionality in Overlay domain (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
Index: third_party/WebKit/Source/devtools/front_end/resources/ResourcesSection.js
diff --git a/third_party/WebKit/Source/devtools/front_end/resources/ResourcesSection.js b/third_party/WebKit/Source/devtools/front_end/resources/ResourcesSection.js
index 2ffe0362b3565c45d25ea1873b7eeabf146469d9..047cb83789337f3bd39aa42a3f86ecacef7d55fe 100644
--- a/third_party/WebKit/Source/devtools/front_end/resources/ResourcesSection.js
+++ b/third_party/WebKit/Source/devtools/front_end/resources/ResourcesSection.js
@@ -155,17 +155,18 @@
this._panel.showCategoryView(this.titleAsText());
this.listItemElement.classList.remove('hovered');
- SDK.OverlayModel.hideDOMNodeHighlight();
+ SDK.DOMModel.hideDOMNodeHighlight();
return false;
}
set hovered(hovered) {
if (hovered) {
this.listItemElement.classList.add('hovered');
- this._frame.resourceTreeModel().domModel().overlayModel().highlightFrame(this._frameId);
+ var domModel = this._frame.resourceTreeModel().domModel();
+ domModel.highlightFrame(this._frameId);
} else {
this.listItemElement.classList.remove('hovered');
- SDK.OverlayModel.hideDOMNodeHighlight();
+ SDK.DOMModel.hideDOMNodeHighlight();
}
}

Powered by Google App Engine
This is Rietveld 408576698