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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/SidebarTreeElement.js

Issue 1461283004: DevTools: defer reveal in TreeOutline using rAF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/ui/SidebarTreeElement.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/SidebarTreeElement.js b/third_party/WebKit/Source/devtools/front_end/ui/SidebarTreeElement.js
index 9259239ba10de3903413cba96569b2d5092589d6..f18b8908de4bb4356df5628e3578d94931ffd563 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/SidebarTreeElement.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/SidebarTreeElement.js
@@ -62,12 +62,6 @@ WebInspector.SidebarSectionTreeElement.prototype = {
this.listItemElement.classList.add("sidebar-tree-section");
},
- onreveal: function()
- {
- if (this.listItemElement)
- this.listItemElement.scrollIntoViewIfNeeded(false);
- },
-
__proto__: TreeElement.prototype
}
@@ -182,11 +176,5 @@ WebInspector.SidebarTreeElement.prototype = {
this.listItemElement.appendChildren(this.iconElement, this.statusElement, this.titlesElement);
},
- onreveal: function()
- {
- if (this.listItemElement)
- this.listItemElement.scrollIntoViewIfNeeded(false);
- },
-
__proto__: TreeElement.prototype
}

Powered by Google App Engine
This is Rietveld 408576698